Skip to content

Commit

Permalink
Merge pull request #1318 from 2JS/patch-1
Browse files Browse the repository at this point in the history
Fix typo in `scalars.mdx`
  • Loading branch information
hayes authored Oct 17, 2024
2 parents f56b1b8 + f181284 commit f6d8877
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/content/docs/guide/scalars.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ through the SchemaTypes generic parameter.
Note that when implementing the graphql-scalars library, the best types to use for `Input` and
`Output` types are _not_ always intuitive. For example, you might assume that the `JSON` type from
graphql-scalars would utilize the global `JSON` type, or another JSON type imported from a library
that tries to enumarate potential JSON values, but it is ussually better to just use `unknown`. A
that tries to enumerate potential JSON values, but it is usually better to just use `unknown`. A
good place to start if you are unsure what type to use it the check the `codegenScalarType` inside
file where the scalar is defined by `graphql-scalars`
([BigInt scalar definition, for reference](https://github.com/Urigo/graphql-scalars/blob/6bdccebb27a7f9be7b5d01dfb052a3e9c17432fc/src/scalars/BigInt.ts#L92)).
Expand Down

0 comments on commit f6d8877

Please sign in to comment.