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

Make a duplicate key warning an exception #1798

Open
golergka opened this issue Jan 17, 2023 · 0 comments
Open

Make a duplicate key warning an exception #1798

golergka opened this issue Jan 17, 2023 · 0 comments

Comments

@golergka
Copy link

Feature Request

I want to be able to configure List components or other components that use it (such as Tree in my particular use case) to throw an exception when it encounters duplicate ids.

  • When you provide duplicate ids, the user interface is often completely broken, so it's better to just show "we crashed" instead of ugly tree with different elements on the same place
  • When it happens in production, I want to get those errors in Sentry
  • I want this to fail unit tests
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

No branches or pull requests

1 participant