Skip to content
Discussion options

You must be logged in to vote

The runtime wiring is used to help create the "runtime aspects" of a schema - eg data fetchers and type resolvers

It is used when you create a schema from a text file, eg from Schema Definition Language (SDL)

https://www.graphql-java.com/documentation/schema#creating-a-schema-using-the-sdl

Nominally the runtime wiring is asked via a call back "do you have a data fetcher" field this field and if so it puts it into the GraphQLCodeRegistry for you

However you can supply in a GraphQLCodeRegistry to start with and if it has the DF in it for that field than it will use it

        // if they have already wired in a fetcher - then leave it alone
        FieldCoordinates coordinates = FieldCoordin…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by alf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants