Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Automatically detect FromRequest implementations for params and exclude from generated interface #8

Open
dteare opened this issue Apr 2, 2024 · 0 comments

Comments

@dteare
Copy link
Contributor

dteare commented Apr 2, 2024

Continuation of #3 where we custom request guards where omitted using an exclusion file. It would be really nice to detect types that implement FromRequest and ignore them automatically.

We should also default to skipping types like Db and State. In other words, every type provided by 🚀 that implements FromRequest directly should be immediately skipped w/o any parsing of the Rocket source code as doing so will slow rocket-ts down w/o enough value to make it worthwhile.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant