Ballerina library
graphql.subgraph
Modules
graphql
graphql.subgraph
Module graphql.subgraph
![](https://bcentral-packageicons.azureedge.net/images/ballerina_graphql_1.8.1.png)
ballerina/graphql.subgraph Ballerina library
1.8.1
Constants![](/images/permalink.svg)
graphql.subgraph: ANY![](/images/permalink.svg)
Define _Any Scalar type used in subgraph schema.
Annotations![](/images/permalink.svg)
graphql.subgraph: Entity![](/images/permalink.svg)
The annotation to designate a GraphQL object type as a federated entity.
graphql.subgraph: Subgraph![](/images/permalink.svg)
The annotation to designate a GraphQL service as a federated GraphQL subgraph.
Records![](/images/permalink.svg)
graphql.subgraph: FederatedEntity![](/images/permalink.svg)
Closed record
Describes the shape of the graphql:Entity
annotation
Fields
- resolveReference ReferenceResolver?(default ()) - Function pointer to resolve the entity. if set to nil, indicates the graph router that this subgraph does not define a reference resolver for this entity
graphql.subgraph: Representation![](/images/permalink.svg)
Denotes the entity representation outlined in the federation specification.
Fields
- __typename string - GraphQL typename field of the entity beign resolved
Import
import ballerina/graphql.subgraph;
Metadata
Released date: about 1 year ago
Version: 1.8.1
License: Apache-2.0
Compatibility
Platform: java11
Ballerina version: 2201.5.0
Pull count
Total: 85529
Current verison: 4455
Weekly downloads
Keywords
gql
network
query
service
Contributors