Skip to content

[Fix] Adjusting category creation validation#34

Merged
ViniPeralta merged 1 commit intomainfrom
Fix/UserIdValidation
Feb 9, 2026
Merged

[Fix] Adjusting category creation validation#34
ViniPeralta merged 1 commit intomainfrom
Fix/UserIdValidation

Conversation

@ViniPeralta
Copy link
Member

💬 Description

Category name validation should consider userId because different users can have categories with the same name managed by each user.

📋 What was done

  • Updated auth-lib version;
  • Added userId from SecurityContext to validate and generate new categories;
  • Update on unit tests;

🛠️ Build

image

👷 Working Locally

When category with name and ID already exists

UserIdAlreadyExists

When category with name already exists but not with the same ID

UserIdDoNotExists

@ViniPeralta ViniPeralta self-assigned this Feb 9, 2026
@ViniPeralta ViniPeralta added the bug Something isn't working label Feb 9, 2026
@github-actions
Copy link

github-actions bot commented Feb 9, 2026

✅ Commit(s) are Valid ✅.

All the commits follow conventional commits pattern, PR not closed.

@ViniPeralta ViniPeralta merged commit 8f6c2ff into main Feb 9, 2026
2 checks passed
@ViniPeralta ViniPeralta deleted the Fix/UserIdValidation branch February 9, 2026 22:16
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

Successfully merging this pull request may close these issues.

1 participant