parse-community / parse-server

Parse Server for Node.js / Express
https://parseplatform.org
Apache License 2.0
20.86k stars 4.78k forks source link

LiveQuery support for the Parse Config #7701

Open azlekov opened 2 years ago

azlekov commented 2 years ago

New Feature / Enhancement Checklist

Current Limitation

Currently there's no way to listen for a changes on Parse Config.

Feature / Enhancement Description

If LiveQuery can start support Parse Config this will be awesome as it can listen for changes on the configuration and apply them runtime. Firebase Remote Config for example uses pulling, where the LiveQuery can make it even better.

Firebase pulling:

val remoteConfig = Firebase.remoteConfig
val configSettings = remoteConfigSettings {
    minimumFetchIntervalInSeconds = 3600
}
remoteConfig.setConfigSettingsAsync(configSettings)

Example Use Case

Feature flags is a good candidate for example use case. Developers can store feature flags data in Parse Config and the apps can listen for changes using the LiveQuery and trigger features server side.

Alternatives / Workarounds

  1. Custom implementation using pulling and using platform specific SDKs Parse Config APIs.
  2. Creating custom Parse class handling the remote configuration or feature flags (this invalidated the Parse Config feature) and use the LiveQuery with it.

3rd Party References

parse-github-assistant[bot] commented 2 years ago

Thanks for opening this issue!