-
Notifications
You must be signed in to change notification settings - Fork 257
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
[master] redesign configuration Interface #3164
Comments
To split configurations we can consider the following refactor on Config // After (v2)
pub enum Config {
SchemaConfig(SchemaConfig),
RuntimeConfig(RuntimeConfig),
}
// Merge only Schema
pub struct SchemaConfig {
pub schema: RootSchema,
pub types: BTreeMap<String, Type>,
pub unions: BTreeMap<String, Union>,
pub enums: BTreeMap<String, Enum>,
}
pub struct RuntimeConfig {
pub server: Server,
pub upstream: Upstream,
pub telemetry: Telemetry,
pub links: Vec<Link>,
} |
Phase 1
Phase 2
Phase 3
|
6 tasks
What does it mean? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ServiceDocument
ServiceDocument
->ServiceDocument
validation beforeServiceDocument
-> Blueprint.The text was updated successfully, but these errors were encountered: