💡 RFC: infer props and params from getStaticParams in ApiContext (endpoints) #688
florian-lefebvre
started this conversation in
Feature requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Background & Motivation
Following withastro/compiler#873, I think it would be great to allow the same behavior with the
ApiContext
type (in endpoints) which accepts Props and Params.Proposed Solution
After talking on Discord with @Princesseuh, looks like this file is where things should happen.
Detailed Design
A few resources shared by Erika:
Help make it happen!
Beta Was this translation helpful? Give feedback.
All reactions