title: Is it possible to change a GraphQL schema at runtime and write resolvers that handle this dynamic schema? (in Java)
body: <p>I am working with GraphQL (in Java) and I would like to find a way to do the following:
  I need the possibility to constantly adapt the GraphQL schema at runtime without restart. In particular I need to be able to add new fields to GraphQL types. Moreover I need the possibility to be able to write resolvers which can handle this dynamic schema.</p>
  
  <p>I do not have example code yet, so just think of the simplest example (one GraphQL type with several fields that can all be of different type).</p>
  
  <p>My problem is that I am quite new in GraphQL and I do not have a lot of experience with it. Of course I looked for a solution on the internet, but I did not find one yet (or just did not notice that I found it due to my lacking experience with GraphQL).
  The only interesting discovery I made is this: <a href="https://stackoverflow.com/questions/46994102/exposing-dynamic-schemas-with-graphql">exposing dynamic schemas with graphql</a> . But I do not understand how this solution works because 1) I do not know how to reload the schema at runtime and 2) I do not know how to write the resolvers so that they can handle that dynamic schema.</p>
  
  <p>So can anybody help me with my problem and/or can answer my questions regarding the link I found?</p>
  
  <p>I am very thankful for every help, no matter how extensive it is. Like I told before, I am quite new in GraphQL. Therefore I would be also very thankful for links to examples (if possible), so that I can understand better.</p>
  
  <p>Thank you very much in advance.</p>