Skip to content

docs: add guides for custom scalars #4380

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

Merged
merged 7 commits into from
May 13, 2025

Conversation

sarahxsanders
Copy link
Contributor

Adds two guides for custom scalars:

  • When and how to use them
  • Best practices and testing

This is a part of the effort to expand GraphQL.js documentation

Copy link
Member

@saihaj saihaj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can share community resource for GraphQL JS Scalars

@sarahxsanders
Copy link
Contributor Author

Thanks for reviewing and approving @saihaj! I don't have merge permissions here either :) so feel free to merge this whenever

@JoviDeCroock
Copy link
Member

Same here, we need the word composability added to cspell.yaml

@sarahxsanders
Copy link
Contributor Author

added! @JoviDeCroock

@JoviDeCroock JoviDeCroock merged commit 3110f81 into graphql:16.x.x May 13, 2025
20 checks passed
benjie added a commit that referenced this pull request May 14, 2025
benjie added a commit that referenced this pull request May 21, 2025
Relevant to these PRs:

- #4380
- #4381
- #4382
- #4383
- #4391

In general this content was excellent - thanks @sarahxsanders! - but I
wanted to add a few minor updates. I've included comments in a few
places with reasoning.

If this PR is too much to review all at once, I'm happy to break it up
as I did review of each PR separately.
yaacovCR pushed a commit to yaacovCR/graphql-js that referenced this pull request May 27, 2025
Co-authored-by: Saihajpreet Singh <[email protected]>
Co-authored-by: Jovi De Croock <[email protected]>
yaacovCR pushed a commit to yaacovCR/graphql-js that referenced this pull request May 27, 2025
Relevant to these PRs:

- graphql#4380
- graphql#4381
- graphql#4382
- graphql#4383
- graphql#4391

In general this content was excellent - thanks @sarahxsanders! - but I
wanted to add a few minor updates. I've included comments in a few
places with reasoning.

If this PR is too much to review all at once, I'm happy to break it up
as I did review of each PR separately.
yaacovCR pushed a commit that referenced this pull request May 30, 2025
Co-authored-by: Saihajpreet Singh <[email protected]>
Co-authored-by: Jovi De Croock <[email protected]>
yaacovCR pushed a commit that referenced this pull request May 30, 2025
Relevant to these PRs:

- #4380
- #4381
- #4382
- #4383
- #4391

In general this content was excellent - thanks @sarahxsanders! - but I
wanted to add a few minor updates. I've included comments in a few
places with reasoning.

If this PR is too much to review all at once, I'm happy to break it up
as I did review of each PR separately.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants