class GraphQLFederationDefinitionsFactory extends GraphQLDefinitionsFactory {
protected exploreAndEmit(typePaths: string[], path: string, outputAs: "class" | "interface", isDebugEnabled: boolean, definitionsGeneratorOptions: DefinitionsGeneratorOptions, typeDefs?: string | string[])
protected gqlAstExplorer: GraphQLAstExplorer
protected gqlTypesLoader: GraphQLTypesLoader
generate(options: GenerateOptions)
protected exploreAndEmit(typePaths: string[], path: string, outputAs: "class" | "interface", isDebugEnabled: boolean, definitionsGeneratorOptions: DefinitionsGeneratorOptions, typeDefs?: string | string[])
protected printMessage(text: string, isEnabled: boolean)
}
Methods
exploreAndEmit()
|
protected exploreAndEmit(typePaths: string[], path: string, outputAs: "class" | "interface", isDebugEnabled: boolean, definitionsGeneratorOptions: DefinitionsGeneratorOptions, typeDefs?: string | string[])
Parameters
Option |
Type |
Description |
typePaths
|
string[] |
|
path
|
string |
|
outputAs
|
"class" | "interface" |
|
isDebugEnabled
|
boolean |
|
definitionsGeneratorOptions
|
DefinitionsGeneratorOptions |
|
typeDefs
|
string | string[] |
Optional. Default is undefined .
|
|