keystonejs / keystone

The superpowered headless CMS for Node.js — built with GraphQL and React
https://keystonejs.com
MIT License
9.18k stars 1.15k forks source link

Tidy up internal Prisma types #9053

Closed dcousens closed 7 months ago

dcousens commented 7 months ago

This pull request tidies up a number of internal Prisma types that were duplicated, and often out-of-date. An explicit as any is replacing the two locations where the type was used, and the remaining boilerplate removed.

An internal new WeakMap mapping the Prisma namespaces to Keystone contexts has been removed too.

codesandbox-ci[bot] commented 7 months ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit c7aecb4b5d799ce6abe9a35c2d730ebb04527e0d:

Sandbox Source
@keystone-6/sandbox Configuration