keystonejs / keystone

The most powerful headless CMS for Node.js — built with GraphQL and React
https://keystonejs.com
MIT License
8.98k stars 1.13k forks source link

Extend `extend-prisma-schema` example to demonstrate adding `previewFeatures` #9097

Closed dcousens closed 2 months ago

dcousens commented 2 months ago

With https://github.com/keystonejs/keystone/pull/9083 merged and published (https://github.com/keystonejs/keystone/pull/9094), some developers might be left asking how do I fix my Prisma schema and add previewFeatures?

The existing example did cover that abstractly, but to help it be readily transferable, this pull request extends the example to explicitly extend the Prisma schema to contain previewFeatures.

codesandbox-ci[bot] commented 2 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 562bab681e5e51261e3c63998ad3774832b49a79:

Sandbox Source
@keystone-6/sandbox Configuration