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
Is your feature request related to a problem or unsupported use case? Please describe.
On Richie, we currently maintain typescript types for each Joanie resource consumed.
Each time, a resource serializer changes, we have to update types manually that is weird. In best case, it is just a time consuming chore, in the worst case, frontend developers works with wrong types...
Describe the solution you'd like
It exists package able to fetch an open api graph then generates typescript through it. It could be relevant to generate resource type and api endpoint types in this way.
Something interesting could be a cli in charge of retrieve the open api graph from a Joanie endpoint, generate all needed typescript types then store the output in a file to a location passed as argument.
Feature Request
Is your feature request related to a problem or unsupported use case? Please describe.
On Richie, we currently maintain typescript types for each Joanie resource consumed.
Each time, a resource serializer changes, we have to update types manually that is weird. In best case, it is just a time consuming chore, in the worst case, frontend developers works with wrong types...
Describe the solution you'd like
It exists package able to fetch an open api graph then generates typescript through it. It could be relevant to generate resource type and api endpoint types in this way.
Something interesting could be a cli in charge of retrieve the open api graph from a Joanie endpoint, generate all needed typescript types then store the output in a file to a location passed as argument.
Discovery, Documentation, Adoption, Migration Strategy
The text was updated successfully, but these errors were encountered: