Feat/turmas#12
Merged
Merged
Conversation
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Descrição
Este PR implementa no BFF o proxy simples das rotas de usuários para o Backend, mantendo a arquitetura definida para o projeto:
Foram adicionadas as rotas:
GET /api/v1/usuarios/alunos?busca=joaoGET /api/v1/usuarios?ids=aluno-1,aluno-2Essas rotas permitem que o frontend:
O BFF continua atuando apenas como gateway/proxy simples, sem agregação, composição de dados ou regra de negócio.
Também foram realizadas as seguintes alterações:
usuarios.routes.ts;/api/v1/usuariosno roteador principal;apiRouter.use("/questoes", questoesRouter);Rastreabilidade
Issue(s) Relacionada(s):
Commits relacionados:
f229b78300a1acfea0ebc41d964619405907dc06eae2179954f3ff5c76b5b6e2608b3db992107fe1b46bf11e06d7ae60806dc3650d206da0227933bd01d57fe3c2160a3cbeb8b3057b848734fb2e35d10b1c5bfb125079f885a3b15e5d0267348d4f32eaTipo de Mudança
Evidências (se aplicável)
Comandos executados:
Resultados:
Checklist
Observações
O BFF foi mantido como gateway/proxy simples. Ele apenas repassa as chamadas para o Backend, sem buscar dados no Quiz-Service e sem agregar respostas.
A composição entre vínculos de turma e dados completos dos alunos será feita no frontend, conforme a arquitetura definida.