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

Feature/input validation - Close #6 #24

Merged
merged 3 commits into from
May 17, 2024
Merged

Conversation

seyedali-dev
Copy link
Owner

feature: Implemented bean validation. (Close #6)

Key changes:

  • Implemented bean validation for TimeEntryDTO & TimeBillingDTO.
  • Created a custom annotation for optional fields.

Implemented bean validation for `TimeEntryDTO` & `TimeBillingDTO`
Implemented bean validation for `TimeEntryDTO` & `TimeBillingDTO`
@seyedali-dev seyedali-dev added the enhancement Enhance a feature label May 16, 2024
@seyedali-dev seyedali-dev self-assigned this May 16, 2024
Implemented bean validation for `TimeEntryDTO` & `TimeBillingDTO`.

> Note: The tests are passing because we're providing null values for `TimeEntryDTO#hourlyRate`, whereas we should write tests for both scenarios.
@seyedali-dev seyedali-dev merged commit 25da9dd into main May 17, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhance a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Validate Input
1 participant