-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
🌐 Add Portuguese translation for docs/pt/docs/how-to/graphql.md
#12215
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
Conversation
|
📝 Docs preview for commit fb4437f at: https://b2ce1e79.fastapitiangolo.pages.dev Modified Pages |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great text!!
docs/pt/docs/how-to/graphql.md
Outdated
|
|
||
| Você pode combinar *operações de caminho* normais do FastAPI com GraphQL na mesma aplicação. | ||
|
|
||
| /// tip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can add translation for this:
/// tip | "Dica"
docs/pt/docs/how-to/graphql.md
Outdated
|
|
||
| Ela foi descontinuada do Starlette, mas se você tem código que a utilizava, você pode facilmente **migrar** para <a href="https://github.com/ciscorn/starlette-graphene3" class="external-link" target="_blank">starlette-graphene3</a>, que cobre o mesmo caso de uso e tem uma **interface quase idêntica**. | ||
|
|
||
| /// tip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can add translation for this:
/// tip | "Dica"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Despite the parts that need a little revision, the rest is good enough to be merged after correction is applied.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job!
|
📝 Docs preview for commit daeda07 at: https://9d6b59bf.fastapitiangolo.pages.dev Modified Pages |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank You Ananda 💯
I've made just some few considerations. None of them are blocking, and you can change if you feel it's right.
Thank you 🚀
docs/pt/docs/how-to/graphql.md
Outdated
|
|
||
| Como **FastAPI** é baseado no padrão **ASGI**, é muito fácil integrar qualquer biblioteca **GraphQL** também compatível com ASGI. | ||
|
|
||
| Você pode combinar *operações de caminho* normais do FastAPI com GraphQL na mesma aplicação. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
although "operações de caminho" is also used, the most common translation in the docs is "operações de rota". I think it's nice to keep de standard 😃
docs/pt/docs/how-to/graphql.md
Outdated
| @@ -0,0 +1,62 @@ | |||
| # GraphQL | |||
|
|
|||
| Como **FastAPI** é baseado no padrão **ASGI**, é muito fácil integrar qualquer biblioteca **GraphQL** também compatível com ASGI. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would use o before FastAPI:
"Como o FastAPI é baseado..."
and:
...GraphQL que também é compatível com o ASGI
docs/pt/docs/how-to/graphql.md
Outdated
|
|
||
| Se você precisar ou quiser trabalhar com **GraphQL**, <a href="https://strawberry.rocks/" class="external-link" target="_blank">**Strawberry**</a> é a biblioteca **recomendada** pois tem o design mais próximo ao design do **FastAPI**, ela é toda baseada em **type annotations**. | ||
|
|
||
| Dependendo no seu caso de uso, você pode preferir usar uma biblioteca diferente, mas se você me perguntasse, eu provavelmente sugeriria que você experimentasse o **Strawberry**. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would change no for do:
"Dependendo do seu caso de uso..."
|
📝 Docs preview for commit 79f22d8 at: https://80cb55ec.fastapitiangolo.pages.dev Modified Pages |
| ``` | ||
|
|
||
| Você pode aprender mais sobre Strawberry em <a href="https://strawberry.rocks/" class="external-link" target="_blank">Strawberry documentation</a>. | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion. ✨
em Strawberry documentation to na documentação do Strawberry
|
📝 Docs preview for commit 24a800e at: https://e2902e2c.fastapitiangolo.pages.dev Modified Pages |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
|
Thanks for your contribution! @AnandaCampelo 🤓 🚀 |
🌐 Add Portuguese translation for
docs/pt/docs/how-to/graphql.md