Closed neilkakkar closed 1 year ago
Since decide v2 doesn't return all flags, but just true flags, this leads to an error when you're checking for a false flag:
Unable to get feature variants:Undefined array key "flag-key"
This PR defends against this.
looking again, it seems like there was a test for this already, it just wasn't failing because it goes to the error log, instead of raising an exception 👀 - fixing
Since decide v2 doesn't return all flags, but just true flags, this leads to an error when you're checking for a false flag:
This PR defends against this.