Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new getContext function and script example #7954

Merged
merged 3 commits into from
Sep 26, 2022
Merged

Conversation

dcousens
Copy link
Member

@dcousens dcousens commented Sep 26, 2022

This pull request adds a new getContext function for working with Keystone directly using your pre-generated Prisma client.

This is incredibly useful for oneshot scripts that don't need Keystone's web middleware.

@vercel

This comment was marked as off-topic.

@changeset-bot

This comment was marked as resolved.

@dcousens dcousens marked this pull request as ready for review September 26, 2022 04:56
@codesandbox-ci
Copy link

codesandbox-ci bot commented Sep 26, 2022

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 380307b:

Sandbox Source
@keystone-6/sandbox Configuration

@dcousens dcousens force-pushed the script-example branch 2 times, most recently from ae055e8 to c03924f Compare September 26, 2022 05:00
@dcousens dcousens force-pushed the script-example branch 2 times, most recently from 0499e1a to 8ecdea9 Compare September 26, 2022 05:02
@dcousens dcousens self-assigned this Sep 26, 2022
@vercel vercel bot temporarily deployed to Preview September 26, 2022 05:09 Inactive
@vercel vercel bot temporarily deployed to Preview September 26, 2022 06:59 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants