Class NormalizedOperationToAstCompiler


  • @ExperimentalApi
    public class NormalizedOperationToAstCompiler
    extends java.lang.Object
    This class can take a list of NormalizedFields and compiling out a normalised operation Document that would represent how those fields may be executed.

    This is essentially the reverse of NormalizedDocumentFactory which takes operation text and makes NormalizedFields from it, this takes NormalizedFields and makes operation text from it.

    You could for example send that operation text onto to some other graphql server if it has the same schema as the one provided.