Skip to content
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.

Generate yup resolvers based on the OpenAPI output #5

Closed
devraj opened this issue Jul 29, 2022 · 2 comments
Closed

Generate yup resolvers based on the OpenAPI output #5

devraj opened this issue Jul 29, 2022 · 2 comments
Assignees

Comments

@devraj
Copy link
Member

devraj commented Jul 29, 2022

There are projects that are attempting to do this first step is to investigate what state they are in and if they are worth incorporating into the mix of things.

If successful then it would mean that the resolvers are auto generated, further cutting time to market and the pydantic models becoming the single source of truth.

Note: that this might not be a one for one solution as the interface would behave differently to the data payload for API calls.

@devraj devraj self-assigned this Jul 29, 2022
@devraj
Copy link
Member Author

devraj commented Oct 29, 2022

See #21 we might not nee to do this if we move to react-query

@devraj
Copy link
Member Author

devraj commented Jan 14, 2023

Moved to using react-query and orval to generate API clients.

react-query provides a form based lifecycle of dealing with requests. orval based clients have a typescript interface to request and responses.

@devraj devraj closed this as completed Jan 14, 2023
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