Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 1.15 KB

File metadata and controls

35 lines (27 loc) · 1.15 KB

Feature Toggling

Vanir provides an end to end holistic approach to feature toggling.

File

At the core of the system sits a file that is expected to be located at .dolittle/features.json within the running backend. The expected format is as follows:

{
    <feature-name>: {
        "description": <human friendly description of the feature>,
        "toggles": [
            {
                "type": "Boolean",   // Boolean is currently the only supported type
                "isOn": true/false   // Specific data for the Boolean toggle type
            }
        ]

    }
}

Specific implementations and usages

Below you'll find more details about specific implementations that is built on top of the file.

Type Description
GraphQL Details on expected GraphQL schemas
C# Details on how to leverage it in C#
TypeScript Details on how to leverage it in TypeScript
 CLI  Details on how to work with features from the Vanir CLI
React Details on how to leverage it from React in the frontend