WunderGraph · Schema
WunderGraph Cosmo Feature Flag
A Feature Flag enables gradual rollout of feature subgraphs to federated graphs in the WunderGraph Cosmo platform.
FederationGraphQLManagementSchema Registry
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Unique identifier for the feature flag. |
| name | string | The name of the feature flag. |
| namespace | string | The namespace the feature flag belongs to. |
| isEnabled | boolean | Whether the feature flag is currently enabled. |
| featureSubgraphNames | array | Associated feature subgraph names. |
| labels | array | Labels to match federated graphs. |
| createdAt | string | When the feature flag was created. |
| updatedAt | string | When the feature flag was last updated. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/api-evangelist/wundergraph/blob/main/json-schema/feature-flag.json",
"title": "WunderGraph Cosmo Feature Flag",
"description": "A Feature Flag enables gradual rollout of feature subgraphs to federated graphs in the WunderGraph Cosmo platform.",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Unique identifier for the feature flag."
},
"name": {
"type": "string",
"description": "The name of the feature flag."
},
"namespace": {
"type": "string",
"description": "The namespace the feature flag belongs to."
},
"isEnabled": {
"type": "boolean",
"description": "Whether the feature flag is currently enabled."
},
"featureSubgraphNames": {
"type": "array",
"items": {
"type": "string"
},
"description": "Associated feature subgraph names."
},
"labels": {
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string"
},
"value": {
"type": "string"
}
}
},
"description": "Labels to match federated graphs."
},
"createdAt": {
"type": "string",
"format": "date-time",
"description": "When the feature flag was created."
},
"updatedAt": {
"type": "string",
"format": "date-time",
"description": "When the feature flag was last updated."
}
}
}