Skip to content

Commit

Permalink
chore(deps): update dependencies and fix prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
carlocorradini committed Dec 16, 2022
1 parent 3a3fdaf commit 01acf4a
Show file tree
Hide file tree
Showing 4 changed files with 645 additions and 970 deletions.
5 changes: 1 addition & 4 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{
"*.ts": [
"eslint --fix",
"prettier --write"
],
"*.ts": ["eslint --fix", "prettier --write"],
"*.{json,md}": "prettier --write",
"*.md": "markdownlint"
}
3 changes: 2 additions & 1 deletion examples/typegraphql/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ registerEnumType(UserPermissions, { name: 'UserPermission' });

// Build schema
const { typeDefs, resolvers } = buildTypeDefsAndResolversSync({
resolvers: [UserResolver, PostResolver]
resolvers: [UserResolver, PostResolver],
validate: { forbidUnknownValues: false }
});
const executableSchema = makeExecutableSchema({
typeDefs: [authDirective.typeDefs, typeDefs],
Expand Down
Loading

0 comments on commit 01acf4a

Please sign in to comment.