Skip to content

consider not deprecating typeInfo and getFieldDef options to validate function and TypeInfo constructor #3519

@yaacovCR

Description

@yaacovCR

/** @deprecated will be removed in 17.0.0 */
typeInfo: TypeInfo = new TypeInfo(schema),

/** @deprecated will be removed in 17.0.0 */
getFieldDefFn?: GetFieldDefFn,

From what I understand, by preserving these options, we add the ability for a server to add custom meta fields such as __fulfilled or __directive and still validate properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions