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/handle duplicated supplies #Issue 179 #192

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

carolrochafloro
Copy link

Issue: #179

Criei services de validação para verificar a inclusão de itens duplicados em supply e suplly category.

Criei uma função slugify em utils para normalizar os nomes antes da comparação.

Não criei uma query para remover dados duplicados do DB, pois existem itens associados a eles no history e os supplies já estão sendo filtrados por um select distincs no service index()

Criei testes correspondentes às funcionalidades implementadas.

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.

1 participant