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

refactor: items of layout schema #29

Merged
merged 3 commits into from
Feb 7, 2024
Merged

refactor: items of layout schema #29

merged 3 commits into from
Feb 7, 2024

Conversation

GeekyEggo
Copy link
Member

  • Refactor items of layout schema to utilize if-then-else

Utilizing the if-then-else for items provides more meaningful error messages when validating JSON. Previously, if one property was missing, you would see that error for all layout item types.

Utilizing the if-then-else for items provides more meaningful error messages when validating JSON. Previously, if one property was missing, you would see that error for all layout item types.
ChekTek
ChekTek previously approved these changes Jan 30, 2024
@GeekyEggo GeekyEggo changed the title WIP refactor: items of layout schema refactor: items of layout schema Feb 5, 2024
@GeekyEggo GeekyEggo merged commit 243d65e into main Feb 7, 2024
2 checks passed
@GeekyEggo GeekyEggo deleted the layout-schema branch February 7, 2024 15:02
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.

3 participants