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

Azure Batch pool config #37

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

bentsherman
Copy link
Member

This one is tricky because the config allows any number of user-defined pools, and this config defines the valid settings in each "pool" scope. So I'm thinking something like:

  1. define azure batch pool config as an "array" config scope
  2. if a config option doesn't match a scope (e.g. azure.batch.pools.foo, remove the last name and see if it matches an array scope (azure.batch.pools)
  3. use the array scope to provide validation, hover hints, completions

Alternatively, it might be time to refactor the config schema into a proper tree structure, where each node can contain options, scopes, or an array of scopes.

Signed-off-by: Ben Sherman <[email protected]>
@bentsherman bentsherman marked this pull request as draft October 30, 2024 23:36
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.

1 participant