jfrag1 edited a comment on pull request #16618:
URL: https://github.com/apache/superset/pull/16618#issuecomment-914497766


   I think this feature flag backend would also need to be able to evaluate all 
feature flags to send via bootstrap 
[here](https://github.com/apache/superset/blob/master/superset/views/base.py#L367).
 Otherwise, you'd still need to define a `GET_FEATURE_FLAGS_FUNC` to get the 
proper values to the frontend, which seems like it would defeat the purpose of 
having a custom backend.
   
   Update:
   Disregard, I see now that this can also be achieved with the 
`COMMON_BOOTSTRAP_OVERRIDES_FUNC` config. It may be good to make a note that it 
is required to do this to ensure flags are consistent between bootstrap and the 
custom backend


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to