GraphQLOperationType

public enum GraphQLOperationType : String

The type of a GraphQL operation

  • A GraphQL Query operation

    Declaration

    Swift

    case query
  • A GraphQL Mutation operation

    Declaration

    Swift

    case mutation
  • A GraphQL Subscription operation

    Declaration

    Swift

    case subscription
  • Corresponding hub event name for this type of operation.

    Declaration

    Swift

    public var hubEventName: String { get }