Skip to content

Commit

Permalink
fix: add BigInt scalar to typedefs (#23)
Browse files Browse the repository at this point in the history
* fix: add BigInt scalar to typedefs

* test: update snapshot

Co-authored-by: Tyler Jones <[email protected]>
  • Loading branch information
aiji42 and squirly authored Nov 24, 2022
1 parent ddc1f36 commit 451d26c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/__tests__/__snapshots__/helpers.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ exports[`makeTypeDefs > Check the generated graphql schema. 1`] = `
scalar Any
scalar DateTime
scalar Json
scalar BigInt
enum UserScalarFieldEnum {
id email name teamId createdAt updatedAt
Expand Down
1 change: 1 addition & 0 deletions src/helpers/makeTypeDefs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export const makeTypeDefs = (dmmf: DMMF.Document) => {
scalar Any
scalar DateTime
scalar Json
scalar BigInt
${enums}
${types}
`;
Expand Down

0 comments on commit 451d26c

Please sign in to comment.