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

Bugfix/7818 7819 event error messages #7856

Merged
merged 5 commits into from
Dec 3, 2024

Conversation

holotsvan
Copy link
Collaborator

#7818

Removed redundant NotEmpty annotations from the title and description fields in AddEventDtoRequest, as they were duplicating the functionality of NotBlank.

#7819

Validation for startDate and finishDate

Request:

{
"title":"Eco",
"description":"Our city is our house, clearness is the useful approach",
"open":true,
"datesLocations":[
{
"startDate":"",
"finishDate":"",
"coordinates":{
"latitude":49.166565,
"longitude": 26.576463
},
"onlineLink":"http://google.com"
}
],
"tags":["Social"]
}

Response Before:
image

Response After:
image

@holotsvan holotsvan merged commit 6d2b3c4 into dev Dec 3, 2024
3 checks passed
@holotsvan holotsvan deleted the bugfix/7818-7819-event-error-messages branch December 3, 2024 08:54
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.

4 participants