Function assertValidGraphql

  • Asserts that the given GraphQL text or file path contain valid GraphQL syntax.

    Parameters

    • input: RequireExactlyOne<{ path: string; text: string }>
    • OptionalfailureMessage: string

    Returns void