Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parser: allow 'options' to explicitly accept undefined #3701

Merged
merged 1 commit into from
Aug 16, 2022

Commits on Aug 16, 2022

  1. Parser: allow 'options' to explicitly accept undefined

    Backport of graphql#3678
    Basically allow to have code like this:
    ```js
    parse(document, GraphQLServerConfig.parserOptions)
    ```
    to pass TS check with 'exactOptionalPropertyTypes'
    IvanGoncharov committed Aug 16, 2022
    Configuration menu
    Copy the full SHA
    86feb78 View commit details
    Browse the repository at this point in the history