Fiz o desafio utilizando a arquitetura que a Nexus usa#6
Open
RianFonseca wants to merge 1 commit intomainfrom
Open
Fiz o desafio utilizando a arquitetura que a Nexus usa#6RianFonseca wants to merge 1 commit intomainfrom
RianFonseca wants to merge 1 commit intomainfrom
Conversation
JoaoVitorLima242
requested changes
Jan 13, 2025
| import { IsOptional } from 'class-validator'; | ||
|
|
||
| export class FindByTextDto { | ||
| @IsOptional() |
Contributor
There was a problem hiding this comment.
daria para adicionar uma outra validacao de @IsString()
Comment on lines
+28
to
+30
| if (typeof result === 'string') { | ||
| return { message: result }; | ||
| } |
Contributor
There was a problem hiding this comment.
Esse if tem que ficar dentro do caso de uso
Comment on lines
+21
to
+24
| { | ||
| provide: TODO_REPOSITORY, | ||
| useClass: PrismaTodoRepository | ||
| } |
Contributor
There was a problem hiding this comment.
Esse cara vai ficar dentro do DatabaseModule e voce so vai precisar importar o DatabaseModule para o module
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 das Mudanças
Descrição curta das mudanças
Instruções de QA
Passos para reproduzir:
Evidências (Se aplicável)
Checklist (Questionário de PR)
Essa PR NÃO deve ser mergeada!
Evitamos de mergear, pois essa PR é apenas para estudo!