Skip to content

Commit

Permalink
fix: support decimal
Browse files Browse the repository at this point in the history
* sql server decimal support

* test: support decimal
  • Loading branch information
juniorUsca authored Mar 10, 2023
1 parent d1666ae commit 0444bd9
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 @@ -6,6 +6,7 @@ exports[`makeTypeDefs > Check the generated graphql schema. 1`] = `
scalar DateTime
scalar Json
scalar BigInt
scalar Decimal
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 @@ -41,6 +41,7 @@ export const makeTypeDefs = (dmmf: DMMF.Document) => {
scalar DateTime
scalar Json
scalar BigInt
scalar Decimal
${enums}
${types}
`;
Expand Down

0 comments on commit 0444bd9

Please sign in to comment.