Flag Casing
benjamin-t-frost opened this issue · comments
Benjamin Frost commented
Use Case:
To avoid confusion and casual mistakes, getters on $ld.flags
should be indifferent to casing.
Acceptance Criteria:
- Interactions with flags should be indifferent between kebab casing and camel casing
- e.g.,
$ld.flags['feature-flag']
and$ld.flags.featureFlag
- e.g.,
- The solution should be usable by older browsers
Joe Moore commented
This should also work for LDRouteGuard and the redirects. Ideally, this would also be opt-in to avoid surprises.