compile
Compiles the given set of fileSpecs and returns a CompilationResult with a classloader for the compiled classes.
For generated code that implements co.anitrend.retrofit.graphql.model.GraphQLVariables, a stub interface is automatically included in the compilation unit. This ensures compilation succeeds even though :api is not on the test classpath.
Set includeGraphQLStubs to also generate stubs for GraphContainer<T> and GraphError (needed for response envelope round-trip tests).
Return
CompilationResult with the classloader for the compiled classes.
Parameters
The KotlinPoet FileSpec objects to compile.
Whether to include a stub GraphQLVariables interface. Set to true when compiling variable classes or input objects.
Whether to include stub GraphContainer<T> and GraphError classes. Set to true for response envelope round-trip tests.