Closed nunogois closed 2 months ago
Follow up to https://github.com/Unleash/unleash-client-node/pull/629
Refactors resolveContextValue to: return context[field]?.toString() ?? context.properties?.[field]?.toString();, as discussed on that PR.
resolveContextValue
return context[field]?.toString() ?? context.properties?.[field]?.toString();
coverage: 90.772% (+0.05%) from 90.721% when pulling 72eb6840947e8d21bacdbd0b1bedaa3e8687c5c4 on refactor-resolve-context-value into 7649311f19b844a58494da4c88d0e555ee771acb on main.
Follow up to https://github.com/Unleash/unleash-client-node/pull/629
Refactors
resolveContextValue
to:return context[field]?.toString() ?? context.properties?.[field]?.toString();
, as discussed on that PR.