Skip to content

Commit

Permalink
Merge branch 'master' into move-schema-entrypoint-to-main-entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
emmatown authored Aug 20, 2021
2 parents ef4b2a6 + b3eefc1 commit 3eee0eb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/metal-stingrays-pump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@keystone-next/keystone': patch
---

Fixed error from prisma when using `.keystone/api` from `generateNodeAPI` in a API route (`admin/pages/api/*`)
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const config = withPreconstruct({
config.externals = [
...config.externals,
/@keystone-next\/keystone(?!\/___internal-do-not-use-will-break-in-patch\/admin-ui\/id-field-view|\/fields\/types\/[^\/]+\/views)/,
/@keystone-next\/types/,
'.prisma/client',
];
}
return config;
Expand Down

0 comments on commit 3eee0eb

Please sign in to comment.