Skip to content

Commit

Permalink
refactor: disable graphql required props validation
Browse files Browse the repository at this point in the history
  • Loading branch information
mvayngrib committed Sep 19, 2018
1 parent 7cfe211 commit a6588f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/graphql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const createGraphqlAPI = (opts: {
postProcess
})

schema = createSchema({ models, objects, resolvers }).schema
schema = createSchema({ models, objects, resolvers, validateRequired: false }).schema
}

return schema
Expand Down

0 comments on commit a6588f5

Please sign in to comment.