Skip to content
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

Verify the schema #1

Open
matheusrocha89 opened this issue Nov 11, 2018 · 5 comments
Open

Verify the schema #1

matheusrocha89 opened this issue Nov 11, 2018 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@matheusrocha89
Copy link
Owner

Some of the types delivered by the API are not correct on the schema. I need to check all of them again and create new types if is necessary.

@matheusrocha89 matheusrocha89 added the bug Something isn't working label Nov 11, 2018
@matheusrocha89 matheusrocha89 self-assigned this Nov 11, 2018
@jgcmarins
Copy link

you could add flow or ts support, then type api response using this: https://transform.now.sh/json-to-flow-types/ or this: https://transform.now.sh/json-to-ts-interface/

@jgcmarins
Copy link

this way you also would know if api response changes and will help you to type resolvers

@matheusrocha89
Copy link
Owner Author

Great idea, if you have time to help me with that it will be great.

@matheusrocha89
Copy link
Owner Author

@jgcmarins I just started this API now (it's right on the beginning) I am living in Porto but with our political scenario, I think it's important for the people to know what is going on in an easy way. This can be just a layer for people to develop apps, websites or any other kind of service that let people informed about what is going on, and what deputies are doing right now if they are working, doing something, spending money and this kind of stuff.

@jgcmarins
Copy link

jgcmarins commented Nov 20, 2018

This is awesome! Great idea and great job.
It would be nice to add this information on README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants