We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Service module schemas should have flat directory structure. For example, the following is preferred:
''' import service as s
app := AppConfiguration { workload: s.Service { containers: s.Container { readinessProbe: s.Probe { } } } } '''
Instead of having to remember inner path of every schema:
''' import service as s import service.container as c import service.container.probe as p
app := AppConfiguration { workload: s.Service { containers: c.Container { readinessProbe: p.Probe { } } } } '''
Reduce the lines of code one has to write to use a module. Lower cognitive load.
The text was updated successfully, but these errors were encountered:
liu-hm19
No branches or pull requests
What would you like to be added?
Service module schemas should have flat directory structure. For example, the following is preferred:
'''
import service as s
app := AppConfiguration {
workload: s.Service {
containers: s.Container {
readinessProbe: s.Probe {
}
}
}
}
'''
Instead of having to remember inner path of every schema:
'''
import service as s
import service.container as c
import service.container.probe as p
app := AppConfiguration {
workload: s.Service {
containers: c.Container {
readinessProbe: p.Probe {
}
}
}
}
'''
Why is this needed?
Reduce the lines of code one has to write to use a module. Lower cognitive load.
The text was updated successfully, but these errors were encountered: