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

improve new leaf type parseConstLiteral() method #4218

Merged
merged 2 commits into from
Oct 13, 2024

Conversation

yaacovCR
Copy link
Contributor

@yaacovCR yaacovCR commented Oct 7, 2024

the new method was introduced in #3812 with upgrade path improved in #4209.

This PR completes polishes this work a bit:

  1. The method is renamed to coerceInputLiteral() following the naming convention suggested in Rename Coercion functions #2357, with the other methods to be renamed in later PRs.
  2. The type of the method GraphQLScalarInputLiteralCoercer is exported, which was not done in the initial work. The old GraphQLScalarLiteralParser type is deprecated.

@yaacovCR yaacovCR added the PR: polish 💅 PR doesn't change public API or any observed behaviour label Oct 7, 2024
@yaacovCR yaacovCR requested a review from a team as a code owner October 7, 2024 11:55
Copy link

netlify bot commented Oct 7, 2024

Deploy Preview for compassionate-pike-271cb3 ready!

Name Link
🔨 Latest commit e69fd0d
🔍 Latest deploy log https://app.netlify.com/sites/compassionate-pike-271cb3/deploys/670beea33bff20000814654e
😎 Deploy Preview https://deploy-preview-4218--compassionate-pike-271cb3.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

github-actions bot commented Oct 7, 2024

Hi @yaacovCR, I'm @github-actions bot happy to help you with this PR 👋

Supported commands

Please post this commands in separate comments and only one per comment:

  • @github-actions run-benchmark - Run benchmark comparing base and merge commits for this PR
  • @github-actions publish-pr-on-npm - Build package from this PR and publish it on NPM

@yaacovCR yaacovCR changed the title rename parseConstValue() method to coerceInputLiteral() polish: refine new leaf type parseConstLiteral() method Oct 7, 2024
@yaacovCR yaacovCR changed the title polish: refine new leaf type parseConstLiteral() method improve new leaf type parseConstLiteral() method Oct 7, 2024
@yaacovCR yaacovCR merged commit 805e3c3 into graphql:main Oct 13, 2024
20 checks passed
@yaacovCR yaacovCR deleted the rename-leaf-type-methods branch October 13, 2024 16:05
yaacovCR added a commit that referenced this pull request Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: polish 💅 PR doesn't change public API or any observed behaviour
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants