keystone icon indicating copy to clipboard operation
keystone copied to clipboard

Rename `.keystone/types` to `.keystone` and add `graphql` export to `.keystone`

Open emmatown opened this issue 3 years ago • 3 comments
trafficstars

This adds a graphql export to .keystone (renamed from .keystone/types because with the graphql export, it is no longer just types) that is the same as the graphql export from @keystone-6/core but uses the specific generated context type for the project. This is important for #7575 since not using the specific context will be more painful but it also generally improves the experience of using graphql-ts for schema extensions and virtual fields.

emmatown avatar Jul 21 '22 06:07 emmatown

🦋 Changeset detected

Latest commit: 112a8f87dbe4256a871e3c8a856e6e063289a629

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 16 packages
Name Type
@keystone-6/core Minor
@keystone-6/auth Major
@keystone-6/cloudinary Major
@keystone-6/fields-document Major
@keystone-6/session-store-redis Major
@keystone-6/example-auth Patch
@keystone-6/examples-app-basic Patch
@keystone-6/example-with-custom-session-validation Patch
@keystone-6/example-ecommerce Patch
@keystone-6/example-graphql-api-endpoint Patch
@keystone-6/example-roles Patch
@keystone-6/example-testing Patch
@keystone-6/example-with-auth Patch
@keystone-6/sandbox Patch
@keystone-6/website Patch
@keystone-6/example-document-field Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

changeset-bot[bot] avatar Jul 21 '22 06:07 changeset-bot[bot]

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
keystone-next-docs ✅ Ready (Inspect) Visit Preview Aug 10, 2022 at 2:23AM (UTC)

vercel[bot] avatar Jul 21 '22 06:07 vercel[bot]

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 112a8f87dbe4256a871e3c8a856e6e063289a629:

Sandbox Source
@keystone-6/sandbox Configuration

codesandbox-ci[bot] avatar Jul 21 '22 06:07 codesandbox-ci[bot]

I don't think we want to do this at this time.

That may change in the future, but for now I will close this pull request.

dcousens avatar Oct 25 '22 02:10 dcousens