Skip to content

Solve some low hanging fruit in the documentation #4279

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 5 commits into from
Nov 4, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Document specifiedByURL
  • Loading branch information
JoviDeCroock authored Nov 2, 2024
commit 56e8f5de326a2b6385a0ab38c6367a64ee2dae07
4 changes: 4 additions & 0 deletions website/pages/type.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,10 @@ functions used to ensure validity.
```js
const OddType = new GraphQLScalarType({
name: 'Odd',
// Can be used to link to a specification
// for this scalar, for instance the JSON
// specification.
specifiedByURL: '',
description:
'This custom scalar will only return a value if the passed in value is an odd integer, when it's not it will return null.'
serialize: (outputValue) => {
Expand Down
Loading