-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Actions: Allow actions to be called on the server #11088
Conversation
🦋 Changeset detectedLatest commit: 765dd72 The changes in this PR will be included in the next version bump. 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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR is blocked because it contains a minor
changeset. A reviewer will merge this at the next release if approved.
defineAction()
6752b1a
to
a22138f
Compare
6ddf14f
to
765dd72
Compare
Changes
Allow actions to be called on the server.
next()
call from middleware with a context provider.actions.mjs
template. This imports thegetAction()
utility to retrieve the appropriate action by path name.Testing
Add e2e test for calling the like action from astro frontmatter.
Docs
TODO: RFC update