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

Reconhecer valor com número decimal #351

Open
Ewertonalex opened this issue Jul 21, 2022 · 1 comment
Open

Reconhecer valor com número decimal #351

Ewertonalex opened this issue Jul 21, 2022 · 1 comment
Labels
bug Something isn't working new issue

Comments

@Ewertonalex
Copy link

Descreva o bug
Ao tentar realizar uma validação de cadastro de produto com preço com valor em número decimal (float), por exemplo, 'preço': 5.6 a API retorna que o preço só pode ser um número inteiro. Sugiro tal na API que poderia retornar o Cadastro realizado com sucesso para estes testes.

image

Contexto (preencha as seguintes informações):
  - Sistema operacional: [por exemplo, Windows 10]
  - Versão do ServeRest [por exemplo 2.26.1]

@Ewertonalex Ewertonalex added bug Something isn't working new issue labels Jul 21, 2022
@edumaxsantos
Copy link
Collaborator

Comecei algumas alterações para isso, porém não seria possível colocar na versão atual, já que causaria breaking changes na API. Acredito que só seria possível em uma eventual versão 3.x

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

No branches or pull requests

2 participants