-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add type definitions for API responses #367
Comments
Adding to this, consolidating the fixtures and mocked data handlers into the |
And if the API supports OpenAPI, we can generate our response types automatically: |
Should our types live in |
I'll admit this isn't something I've understood well, but I think this SO answer is pretty good: https://stackoverflow.com/a/29197665/4256689 In short:
|
We did this with add-ons. We should add coverage for the rest of the data we pull in.
It's possible this will make the
src/structure
folder obsolete.The text was updated successfully, but these errors were encountered: