Skip to content

feat: enable proper opening hrs update - #85

Merged
kingazm merged 2 commits into
mainfrom
restaurant-edit
Apr 28, 2026
Merged

feat: enable proper opening hrs update#85
kingazm merged 2 commits into
mainfrom
restaurant-edit

Conversation

@kingazm

@kingazm kingazm commented Apr 15, 2026

Copy link
Copy Markdown
Collaborator

📄 Pull Request Description

Please fill out each section below.
The goal is that reviewers can understand everything without reading the code.


🧩 What was changed?

Overwrote the default (from @Setter annotation) opening hours setter to enable proper removal and addition of new/updated opening hours.


💡 Why was it changed?

Previous version caused bugs when trying to update different opening hours per different day (what JUCanEat/react-frontend#115 is adding in UI).


⚙️ How was it implemented?

Simple change from default setter to one with safe delete before any opening hours update update, keeping the list intact.


⚠️ Side Effects or Risks

None that I am aware of, besides frontend working properly:)


✅ Checklist

  • All 4 sections above are clearly filled out
  • Tests and documentation updated - tested manually & with frontend update

@cssma

cssma commented Apr 28, 2026

Copy link
Copy Markdown
Collaborator

lgtm with frontend

@kingazm
kingazm merged commit 4759727 into main Apr 28, 2026
2 checks passed
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.

2 participants