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

[FEAT] Identify client by cpf #23

Merged
merged 1 commit into from
May 20, 2024
Merged

Conversation

deboracosilveira
Copy link
Collaborator

  • Identify client by cpf
  • Move tests to /tests
  • Refactor get exceptions
  • Refactor dockerfile and docker-compose

@@ -9,11 +9,35 @@ export class ClientReaderService implements ClientReaderServicePort {

async findById(id: string): Promise<Client> {
try {
return this.clientRepository.findById(id);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exceptions não estavam funcionando e not found estava dando 200

@eduardopetri eduardopetri merged commit e2f1b30 into development May 20, 2024
1 check passed
@eduardopetri eduardopetri deleted the identify-client-by-cpf branch May 20, 2024 13:29
@eduardopetri eduardopetri linked an issue May 20, 2024 that may be closed by this pull request
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.

[chore] Move tests from src to test
3 participants