We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d65ff3e commit 453c70cCopy full SHA for 453c70c
libs/providers/flagsmith-client/src/lib/flagsmith-client-provider.ts
@@ -58,6 +58,7 @@ export class FlagsmithClientProvider implements Provider {
58
if (context?.targetingKey) {
59
const { targetingKey, ...contextTraits } = context;
60
// OpenFeature context attributes can be Date objects, but Flagsmith traits can't
61
+ // https://github.com/Flagsmith/flagsmith-js-client/issues/329
62
const traits: Parameters<IFlagsmith['identify']>[1] = {};
63
for (const [key, value] of Object.entries(contextTraits)) {
64
if (value === null || typeof value === 'string' || typeof value === 'number' || typeof value === 'boolean') {
0 commit comments