Uh oh!
There was an error while loading. Please reload this page.
[PAV-133] Corrigir tipagem em autenticação e conexões - #246
Open
Jovinull wants to merge 1 commit into
Open
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 freeto 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.
Linear
Issue: PAV-133
Branch flow
develop.master.Objetivo
Corrigir erros de TypeScript nos fluxos de boas-vindas e desconexão de provedores, preservando o comportamento das rotas e evitando coerções de tipo inseguras.
Escopo
O que faz parte desta entrega:
stringno envio de e-mail de boas-vindas.req.params.providercomo valor escalar antes da lista de providers e da desconexão.O que está fora do escopo:
Resumo das alterações
Usuáriocomo fallback de nome quando os dois campos opcionais não existem.providerem formato não escalar antes de chamar o serviço.Como testar
Validation
Impacto de banco / migration
Impacto em contratos/API
Impacto de configuração / infraestrutura
Impacto de segurança
Impacto de dados pessoais / privacidade
Compatibilidade / dependências
Riscos
Baixo. O fallback impede que dados nulos cheguem ao template de e-mail, e a nova validação apenas rejeita formatos que a rota não suporta.
Rollback
Reverter este commit restaura o comportamento anterior sem migração nem alteração de dados.
Checklist final
.env, certificados ou tokens.