Skip to content

Commit 453c70c

Browse files
committed
comment
Signed-off-by: Rodrigo López Dato <[email protected]>
1 parent d65ff3e commit 453c70c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libs/providers/flagsmith-client/src/lib/flagsmith-client-provider.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ export class FlagsmithClientProvider implements Provider {
5858
if (context?.targetingKey) {
5959
const { targetingKey, ...contextTraits } = context;
6060
// OpenFeature context attributes can be Date objects, but Flagsmith traits can't
61+
// https://github.com/Flagsmith/flagsmith-js-client/issues/329
6162
const traits: Parameters<IFlagsmith['identify']>[1] = {};
6263
for (const [key, value] of Object.entries(contextTraits)) {
6364
if (value === null || typeof value === 'string' || typeof value === 'number' || typeof value === 'boolean') {

0 commit comments

Comments
 (0)