You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To develop a provider, you need to create a new project and include the OpenFeature SDK as a dependency. This can be a new repository or included in an existing contrib repository available under the OpenFeature organization. Finally, you’ll then need to write the provider itself. In most languages, this can be accomplished by implementing the provider interface exported by the OpenFeature SDK.
Hooks are a mechanism that allow for the addition of arbitrary behavior at well-defined points of the flag evaluation life-cycle. Use cases include validation of the resolved flag value, modifying or adding data to the evaluation context, logging, telemetry, and tracking.
95
+
96
+
Example of adding a hook
97
+
98
+
```csharp
99
+
// add a hook globally, to run on all evaluations
100
+
openFeature.AddHooks(newExampleGlobalHook());
101
+
102
+
// add a hook on this client, to run on all evaluations made by this client
// code to run after all other stages, regardless of success/failure
136
+
}
137
+
}
138
+
```
139
+
140
+
## Contributing
141
+
142
+
See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to contribute to the OpenFeature project.
143
+
144
+
Our community meetings are held regularly and open to everyone. Check the [OpenFeature community calendar](https://calendar.google.com/calendar/u/0?cid=MHVhN2kxaGl2NWRoMThiMjd0b2FoNjM2NDRAZ3JvdXAuY2FsZW5kYXIuZ29vZ2xlLmNvbQ) for specific dates and for the Zoom meeting links.
145
+
33
146
34
147
Thanks so much for your contributions to the OpenFeature project.
35
148
@@ -38,3 +151,7 @@ Thanks so much for your contributions to the OpenFeature project.
0 commit comments