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

chore(supabase-mw): Return tuple from initSupabaseMw to prevent accidental misconfiguration #10687

Merged
merged 1 commit into from
May 28, 2024

Conversation

dac09
Copy link
Contributor

@dac09 dac09 commented May 27, 2024

Supabase equivalent of this: #10642

Instead of returning middleware we now return [middleware, '*']. This reduces the chance of the user accidentally not configuring the middleware for certain routes

@dac09 dac09 added changesets-ok Override the changesets check release:feature This PR introduces a new feature release:chore This PR is a chore (means nothing for users) and removed release:feature This PR introduces a new feature labels May 27, 2024
@dac09 dac09 changed the title feat(supabase-mw): Return tuple from initSupabaseMw to prevent accidental misconfiguration chore(supabase-mw): Return tuple from initSupabaseMw to prevent accidental misconfiguration May 27, 2024
@dac09 dac09 added this to the SSR milestone May 27, 2024
@dac09 dac09 requested a review from dthyresson May 27, 2024 12:30
@dthyresson dthyresson merged commit f1eb271 into redwoodjs:main May 28, 2024
47 of 59 checks passed
@Josh-Walker-GM Josh-Walker-GM modified the milestones: SSR, v8.0.0 Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changesets-ok Override the changesets check release:chore This PR is a chore (means nothing for users)
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants