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

Fix pageMiddleware args #5787

Merged
merged 3 commits into from
May 26, 2021
Merged

Fix pageMiddleware args #5787

merged 3 commits into from
May 26, 2021

Conversation

timleslie
Copy link
Contributor

Pass in a context object which includes the session context methods, which are otherwise inaccessible here. More generally this is just a simpler API to use.

@vercel
Copy link

vercel bot commented May 24, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/keystonejs/keystone-next-docs/GQM5FRfrZCG71uMFqLxQFyYCpc6a
✅ Preview: https://keystone-next-docs-git-page-middleware-args-keystonejs.vercel.app

@changeset-bot
Copy link

changeset-bot bot commented May 24, 2021

🦋 Changeset detected

Latest commit: 755e2b0

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

This PR includes changesets to release 18 packages
Name Type
@keystone-next/auth Major
@keystone-next/keystone Major
@keystone-next/types Patch
@keystone-next/example-auth Patch
@keystone-next/app-basic Patch
@keystone-next/example-ecommerce Patch
keystone-next-app Patch
@keystone-next/example-roles Patch
@keystone-next/example-sandbox Patch
@keystone-next/example-with-auth Patch
@keystone-next/test-utils-legacy Patch
@keystone-next/benchmarks-legacy Patch
@keystone-next/example-blog Patch
@keystone-next/example-embedded-nextjs Patch
@keystone-next/example-json-field Patch
@keystone-next/example-todo Patch
@keystone-next/fields-document Patch
@keystone-next/fields 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

@timleslie timleslie requested a review from JedWatson May 24, 2021 22:46
@codesandbox-ci
Copy link

codesandbox-ci bot commented May 24, 2021

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 755e2b0:

Sandbox Source
@keystone-next/example-sandbox Configuration

@vercel vercel bot temporarily deployed to Preview May 24, 2021 22:49 Inactive
@vercel vercel bot temporarily deployed to Preview May 24, 2021 22:53 Inactive
@vercel vercel bot temporarily deployed to Preview May 24, 2021 23:20 Inactive
@vercel vercel bot temporarily deployed to Preview May 25, 2021 23:46 Inactive
@vercel vercel bot temporarily deployed to Preview May 26, 2021 03:25 Inactive
@timleslie timleslie enabled auto-merge (squash) May 26, 2021 03:25
@vercel vercel bot temporarily deployed to Preview May 26, 2021 03:32 Inactive
@timleslie timleslie merged commit bb4f4ac into master May 26, 2021
@timleslie timleslie deleted the page-middleware-args branch May 26, 2021 03:38
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