{"repo":"Enigmatis/graphql-java-annotations","free":true,"listed":false,"github":"https://github.com/Enigmatis/graphql-java-annotations","clone":"git clone https://github.com/Enigmatis/graphql-java-annotations.git","description":"GraphQL Annotations for Java","language":"Java","stars":392,"topics":["graphql-java","graphql","graphql-annotations"],"license":null,"category":"api-integrations-sdks","readme_excerpt":"GraphQL-Java Annotations GraphQL-Java is a great library, but its syntax is a little bit verbose. This library offers an annotations-based syntax for GraphQL schema definition. If you would like to use a tool that creates a graphql spring boot server using graphql-java-annotations, you can view the graphql-spring-annotations library. Table Of Contents - Getting Started - GraphQLAnnotations class - Annotations Schema Creator - Defining Objects - Defining Interfaces - Defining Unions - Fields - Custom DataFetcher - Type Extensions - Defining Extensions in Annotation - Data Fetching with Extensions - Type Inference - Directives - Creating/Defining a GraphQL Directive - Wiring with Directives - Relay Support - Mutations - Connection - Customizing Relay Schema - Community and Governance Getting Started (Gradle syntax) (Maven syntax) The graphql-java-annotations library is able to create GraphQLType objects out of your Java classes. These GraphQLType objects can be later injected into the graphql-java schema. graphql-java-annotations also allows you to wire your objects with data fetchers and type resolvers while annotating your fields/types. The result of this process will be a GraphQLCodeRegistry.Builder object that can be later built and injected to the graphql-java schema. GraphQLAnnotations class You can create an instance of the GraphQLAnnotations class in order to create the GraphQL types. Using this object, you will be able to create the GraphQL types. There are few types t","default_branch":null,"files":null,"tree":[],"storefront":"/r/Enigmatis","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Enigmatis/graphql-java-annotations/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}