Skip to content

Commit

Permalink
fix: #62
Browse files Browse the repository at this point in the history
  • Loading branch information
maoosi committed Nov 11, 2022
1 parent a874bc5 commit bc7320d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/generator/src/compiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,7 @@ export class PrismaAppSyncCompiler {
const defaultValue: any = searchField?.default || null
return (
defaultValue?.name === 'autoincrement'
|| defaultValue?.name === 'uuid'
|| searchField.isUpdatedAt
|| ['updatedAt', 'createdAt'].includes(searchField.name)
)
Expand Down

0 comments on commit bc7320d

Please # to comment.