INNER CODE UNIT · Go

_

ysugimoto/grpc-graphql-gateway · graphql/graphql.pb.go:28

	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

// explicit schema declaration enum
type GraphqlType int32

const (
	// schema will generate as Query
	GraphqlType_QUERY GraphqlType = 0
	// schema will generate as Mutation
	GraphqlType_MUTATION GraphqlType = 1
	// schema will generate as Resolver. Resolver behaves not listed in query, but can resolve nested field.
	GraphqlType_RESOLVER GraphqlType = 2
	// schema will generate Subscription.
	GraphqlType_SUBSCRIPTION GraphqlType = 3
)

// Enum value maps for GraphqlType.

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…