Annotations/Decorators

All the implementation resolvers use annotations for defining the relationship with the GraphQL schema.

The following annotations are supported by both Node.js and Java:

  • Args
  • Async - only for Java, for Node.js all operations are asynchronous
  • Mutation
  • Parent
  • Query
  • ResolveField
  • Resolver

For Node.js, see the [NestJS](https://docs.nestjs.com/graphql/resolvers) documentation. For Java, see the included Java API documentation.