INNER CODE UNIT · Java

getGraphQLAnnotations

Enigmatis/graphql-java-annotations · src/main/java/graphql/annotations/AnnotationsSchemaCreator.java:219

        public GraphQLAnnotations getGraphQLAnnotations() {
            return this.graphQLAnnotations;
        }

        /**
         * Build a graphql schema according to the properties provided
         * The method generates the GraphQL objects, directives, additional types, etc using the graphql annotations processor and sets them into the GraphQL Schema
         *
         * @return a GraphQLSchema which contains generated GraphQL types out of the properties provided to the builder
         */
        public GraphQLSchema build() {
            assert this.queryObject != null;

            if (this.graphQLAnnotations == null) {
                this.graphQLAnnotations = new GraphQLAnnotations();
            }

            if (this.graphqlSchemaBuilder == null) {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…