open-feature / kotlin-sdk

Kotlin implementation of the OpenFeature SDK for Android clients
https://openfeature.dev
Apache License 2.0
12 stars 4 forks source link

Provider status management #62

Closed thomaspoignant closed 10 months ago

thomaspoignant commented 12 months ago

As mentioned in the specification :

The provider MAY define a status field/accessor which indicates the readiness of the provider, with possible values NOT_READY, READY, STALE, or ERROR. Providers without this field can be assumed to be ready immediately. The diagram below illustrates the possible states and transitions of the status fields.

Currently, the SDK does not offer the providers does take care of anything to indicate the readiness of the provider. I was wondering if it was on purpose?

nicklasl commented 10 months ago

@thomaspoignant take a look at the linked PR, was it something like this you had in mind?

thomaspoignant commented 10 months ago

@nicklasl sorry for the delay in the answer but yes this is what I had in mind.