generated from TBD54566975/tbd-project-template
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Validate that the secrets and config required by the schema exactly match defined secrets #1173
Labels
good first issue
Good for newcomers
Comments
Open
alecthomas
added
next
Work that will be be picked up next
good first issue
Good for newcomers
and removed
triage
Issue needs triaging
labels
Apr 8, 2024
Does this all sound right?
|
I don't think 1 is necessary, it will be true most of the time. I think most of the validation should be done at schema validation/build time. |
Perfect, I'll plan to build everything except the first thing. Thanks! |
Maybe this is going to be solved with this one then: #1906 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Error for missing entries, and warn for entries that are defined but not required?
- [ ] Adding secrets/configs validates against the list of modules defined in the ftl-project.toml file - quick scan to just load the ftl.toml and cross-check - [ ] Add a `--force, -f` flag to override this check - [ ] Then a future PR to improve schema validation - [ ] Error if a module references a config/secret that is not defined - [ ] Warn if a config/secret is defined but is not used^^ this is likely all wrong
The text was updated successfully, but these errors were encountered: