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
#9084 now has an initial implementation of the 2nd(RCValue JSON decoding) and 3rd(setDefaults from Encodable) requests.
I'm not sure about the first one. It seems that RC does not have any APIs to get the full configuration, but I'm not sure why that is. So I'm not sure that we should add only a Codable version to do that.
I suppose a workaround is for an app to do everything via a single JSON entry?
@karenyz or anyone else: Any thoughts/guidance on the above questions?
After more thought, a getAll API wouldn't be too useful for Objective C without type safety so I did a direct Swift decoder implementation. Details in #9084 which now has implementations for all three of the requests.
Feature proposal
Decoder
Would be great to have a Decoder like
Firestore.Decoder
to do something like this:RemoteConfig.Decoder
should be able to decode 'RemoteConfigValue' as well:Encoder
Would be great to have also an Encoder to set defaults:
or better, like for Firestore
ref.setValue(from: Encodable)
The text was updated successfully, but these errors were encountered: