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

Introduce astFromValueUntyped and handle object values within astFromValue correctly #4087

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ardatan
Copy link
Member

@ardatan ardatan commented May 8, 2024

Fixes #4085
Closes #4086

This PR introduces a new function called astFromValueUntyped that creates an AST without a type.
This function is needed because if a custom scalar returns an object type, it needs to be serialized without a type.

Copy link

netlify bot commented May 8, 2024

Deploy Preview for compassionate-pike-271cb3 ready!

Name Link
🔨 Latest commit fae69d4
🔍 Latest deploy log https://app.netlify.com/sites/compassionate-pike-271cb3/deploys/663b8fa89fe2d300083c4310
😎 Deploy Preview https://deploy-preview-4087--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 May 8, 2024

Hi @ardatan, 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

astFromValue fails with a custom scalar serializing to an object value
1 participant