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

Endpoint graphql #43

Merged
merged 14 commits into from Apr 7, 2020
Merged

Conversation

WeslleyNasRocha
Copy link
Contributor

Acredito que vai ajudar bastante quem quer usar graphql com essa api

@vercel
Copy link

vercel bot commented Mar 19, 2020

This pull request is being automatically deployed with ZEIT Now (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/filipedeschamps/brasilapi/ir3ffcqlk
✅ Preview: https://brasilapi-git-fork-weslleynasrocha-master.filipedeschamps.now.sh

dependabot bot and others added 4 commits March 31, 2020 23:11
Bumps [next](https://github.com/zeit/next.js) from 9.3.0 to 9.3.2.
- [Release notes](https://github.com/zeit/next.js/releases)
- [Commits](vercel/next.js@v9.3.0...v9.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
…nd_yarn/next-9.3.2

build(deps): bump next from 9.3.0 to 9.3.2
Bumps [acorn](https://github.com/acornjs/acorn) from 6.4.0 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](acornjs/acorn@6.4.0...6.4.1)

Signed-off-by: dependabot[bot] <support@github.com>
…nd_yarn/acorn-6.4.1

build(deps): bump acorn from 6.4.0 to 6.4.1
@filipedeschamps
Copy link
Member

Sensacional!!! Estou pensando aqui, você acha muito ruim deixar as implementações de GraphQL e REST totalmente separadas/independentes?

Pois imagino que a carga de esforço nas duas vai ser diferente, digo quanto a disponibilidade de contribuição. E amarrar a disponibilidade de uma mesma informação por conta de duas tecnologias diferentes acredito não ser saudável para o momento do projeto.

O que você acha?

@WeslleyNasRocha
Copy link
Contributor Author

WeslleyNasRocha commented Apr 7, 2020

Eu acho muito bom, só fico meio preocupado que se começarem a implementar tudo em REST sem atualizar o graphql ele corre o risco de ficar defasado. Porem podemos ter mantenedores que cuidem de atualizar o graphql.
Mas para o momento, acho que é uma boa manter separado. Vou atualizar o PR.

* 'master' of github.com:WeslleyNasRocha/BrasilAPI:
  fix: moved graphql to modules
  fix: cache-control header
  docs: documentation for the cep query
  feat: added graphql endpoint
@filipedeschamps
Copy link
Member

Eu acho muito bom, só fico meio preocupado que se começarem a implementar tudo em REST sem atualizar o graphql ele corre o risco de ficar defasado.

Show, essa é uma preocupação minha também, porém acredito ser melhor esse descasamento (para revelar que precisamos de mais contribuidores para parte do GraphQL) sem penalizar ou deixar mais difícil a implementação do endpoint em REST 👍

Estou fazendo o merge, mesmo com o e2e-tests não passando, pois estamos avaliando como resolver isso para os forks em paralelo nesse PR aqui: https://github.com/filipedeschamps/BrasilAPI/pull/38

@filipedeschamps filipedeschamps merged commit cbe7c9f into BrasilAPI:master Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants