INNER CODE UNIT · Go

_

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

	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = 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
)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…