16 lines
489 B
C#
16 lines
489 B
C#
using HotChocolate;
|
|
using HotChocolate.Authorization;
|
|
|
|
namespace FictionArchive.Service.ReportingService.GraphQL;
|
|
|
|
public class Mutation
|
|
{
|
|
/// <summary>
|
|
/// Placeholder mutation for GraphQL schema requirements.
|
|
/// The ReportingService is primarily read-only, consuming events from other services.
|
|
/// </summary>
|
|
[Authorize(Roles = ["admin"])]
|
|
[GraphQLDescription("Placeholder mutation. ReportingService is primarily read-only.")]
|
|
public bool Ping() => true;
|
|
}
|