-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
More config checks #4310
More config checks #4310
Conversation
✅ Deploy Preview for frigate-docs canceled.
|
Does any of this translate when setting the schema validation in vs code when editing a yaml file? I'm guessing not. Maybe that's not possible. Mostly curious as we plan for an embedded config editor. |
From what I can tell I don't think so unfortunately, doesn't seem there is a way to set errors in there: https://pydantic-docs.helpmanual.io/usage/schema/#schema-customization |
O well. We will just have to do what we can client side and have a validate endpoint for the rest. |
* Move existing checks to own functions * Add config check for zone objects that are not tracked * Add tests for config error * Formatting * Catch case where field is defined multiple times and add test * Add warning for rtmp
Add config checks:
zone -> objects
that are not tracked