vendredi 28 décembre 2018

Why is my feature flag displaying as true?

Today we realized that our feature flag controls 2 features but we only want it to control one. I created a second feature flag called displayNewPage. I wrapped the new page under development in an if so that it will be hidden from users.

The code works locally but when I deployed it to production it doesn't work. On production when the Get request to the current user is done it receives the displayNewPage as false.

When I checked the ember data it doesn't seem to know about the new boolean even though I have added it to the frontend model. The page displays the link to the new page but I don't really understand why this is.

Does anyone have any suggestions?




Aucun commentaire:

Enregistrer un commentaire