Skip to content

[BUG] Multi Provider: hookContexts.get(context) fails, but works with context.context #1268

@laszlorostas

Description

@laszlorostas

Hi,
I ran into an issue when using the Multi Provider.
These two lines don’t work for me as-is (link):

const hookContext = this.hookContexts.get(context);
const hookHints = this.hookHints.get(context);

But when I change them to this, it works:

const hookContext = this.hookContexts.get(context.context);
const hookHints = this.hookHints.get(context.context);

Has anyone else experienced this?
I’m using FlagdProvider and the EnvVarProvider provider.
Thanks!

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions