graphql-camara-deputados icon indicating copy to clipboard operation
graphql-camara-deputados copied to clipboard

Verify the schema

Open matheusrocha89 opened this issue 6 years ago • 5 comments

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 avatar Nov 11 '18 20:11 matheusrocha89

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 avatar Nov 15 '18 19:11 jgcmarins

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

jgcmarins avatar Nov 15 '18 19:11 jgcmarins

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

matheusrocha89 avatar Nov 16 '18 09:11 matheusrocha89

@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.

matheusrocha89 avatar Nov 16 '18 10:11 matheusrocha89

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

jgcmarins avatar Nov 20 '18 13:11 jgcmarins