Skip to content

Commit

Permalink
Merge pull request #41 from Quramy/fix_json_field_type
Browse files Browse the repository at this point in the history
fix: Fix typo of scalar fields definition
  • Loading branch information
Quramy committed Nov 25, 2022
2 parents 6038ec5 + 6f08383 commit dde4586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/prisma-fabbrica/src/templates/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export const scalarFieldType = (
return template.typeNode`Date`();
case "Bytes":
return template.typeNode`Buffer`();
case "JSON":
case "Json":
// FIXME Is the folloing type right?
// return template.typeNode`Prisma.Json`();
return ast.keywordTypeNode(ts.SyntaxKind.AnyKeyword);
Expand Down

0 comments on commit dde4586

Please sign in to comment.