Class ClientCodeGenerator

Constructors

Methods

  • Parameters

    • node: FragmentDefinitionNode | InlineFragmentNode
    • parentType: GraphQLObjectType<any, any>

    Returns boolean

  • Parameters

    • node: SelectionSetNode
    • parentType: GraphQLObjectType<any, any>
    • withTypeNameField: boolean

    Returns string

  • Parameters

    • node: FragmentSpreadNode
    • parentType: GraphQLObjectType<any, any>

    Returns undefined | string

  • Parameters

    • node: InlineFragmentNode
    • parentType: GraphQLObjectType<any, any>

    Returns undefined | string

  • Parameters

    • node: SelectionSetNode
    • parentType: GraphQLObjectType<any, any>
    • withTypeNameField: boolean = true

    Returns string

  • Parameters

    • parts: (undefined | string)[]
    • separator: string = '\n\n'
    • Optionalbraces: string

    Returns string

  • Parameters

    • type: GraphQLInterfaceType | GraphQLObjectType<any, any>
    • name: string

    Returns GraphQLField<any, any, any>

""