Skip to the content.

< Back


IGraphQLOperation

Namespace: GraphQL.Query.Builder

The GraphQL operation interface.

public interface IGraphQLOperation

Attributes NullableContextAttribute

Properties

Type

Gets the operation type (query, mutation, subscription), or null for shorthand.

OperationType? Type { get; }

Property Value

OperationType?

Name

Gets the optional operation name.

string? Name { get; }

Property Value

String

Methods

Build()

Builds the complete GraphQL operation string.

string Build()

Returns

String
The GraphQL operation as a string.


< Back