You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a known issue, i just didn't got any time yet to get to it
The issue with migrating from the static schema, is that we want to keep backwards compatibility with people using the static version
i would also recommend the schema not being static so you don't have to compute the schema and construct everything until the route is hit
I still need to think about this because, if we move the schema compute to only when the route is hit, we still need a way to compute all route schemas when someone hits openapi.json path
@patryk-smc feel free to open a PR 😄
if you decide to tackle both issues, please split into 2 pr's
the static schema does not match the the request type, and does not have typing on the handle parameters
makes this library really hard to use
it's also not clear how to describe the parameters!
and there are multiple places where params can be defined!
need to make better use of typescript for this to be nice to use
i would also recommend the schema not being static so you don't have to compute the schema and construct everything until the route is hit
The text was updated successfully, but these errors were encountered: