This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
💡 RFC: infer props and params from getStaticParams in ApiContext (endpoints) #663
Closed
1 of 3 tasks
Labels
pkg: ts-plugin
Fixes to the TS plugin are required to fix this issue (scope)
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!
The text was updated successfully, but these errors were encountered: