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

Extend assert syntax #444

Open
gabizon103 opened this issue May 28, 2024 · 1 comment
Open

Extend assert syntax #444

gabizon103 opened this issue May 28, 2024 · 1 comment
Labels
C: language Component: the Filament language low priority We're probably not going to work on this anytime soon

Comments

@gabizon103
Copy link
Collaborator

Mentioned in #438, could be nice to have syntax that allows users to write a reason for an assert, which gets displayed when the assert fails. Would make for more helpful error messages, especially when one is using a component they didn't write themselves, such as one from a library.

@gabizon103 gabizon103 added low priority We're probably not going to work on this anytime soon C: language Component: the Filament language labels May 28, 2024
@rachitnigam
Copy link
Member

Awesome! This would be great for UX.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: language Component: the Filament language low priority We're probably not going to work on this anytime soon
Projects
None yet
Development

No branches or pull requests

2 participants