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

fix: allow empty special description #552

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

cirex-web
Copy link
Contributor

@cirex-web cirex-web commented Feb 3, 2025

Description

Joi defaults strings to not accept the empty string. We have no reason to do this, since it's pretty reasonable for a special to possibly only have a title and not a description.

Also, the code (at least the revised backend code in ScottyLabs/dining-api#166) will always return a string for the description.

Copy link

vercel bot commented Feb 3, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
cmueats ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 3, 2025 7:47pm

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