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

Converter definition runtime validation #2165

Merged
merged 1 commit into from
Jan 27, 2021

Conversation

nurikk
Copy link
Contributor

@nurikk nurikk commented Jan 27, 2021

Validate converter, since we're exposing addDeviceDefinition for external converters, there are cases when users can add converter with invalid structure and crash frontend

example: nurikk/zigbee2mqtt-frontend#279

@Koenkk
Copy link
Owner

Koenkk commented Jan 27, 2021

Thanks!

@Koenkk Koenkk merged commit 3033766 into Koenkk:master Jan 27, 2021
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