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

Problema com CEP sem bairro #1

Closed
vitorfba opened this issue Aug 16, 2023 · 1 comment
Closed

Problema com CEP sem bairro #1

vitorfba opened this issue Aug 16, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@vitorfba
Copy link

O DTO CepData recebe o parametro $neighborhood como obrigatório, porém alguns ceps do brasil são genéricos e não possuem bairro, ocasionando uma exception.

Por exemplo, o cep: 45150-000

@carloscarucce carloscarucce added the bug Something isn't working label Sep 4, 2023
@carloscarucce
Copy link
Member

Obrigado pelo seu report!

Identifiquei que no mesmo objeto, em alguns casos, outros atributos também não estavam presentes e já coloquei como opcional.

A correção ja está presente na release 1.1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants