Remove usage of instanceof
for Lazy
#2164
Labels
bug
Something isn't working
@component/cdk8s-core
Issue related to cdk8s-core
effort/medium
1 week tops
priority/p1
Should be on near term plans
Description of the bug:
This is basically the same issue as cdk8s-team/cdk8s-core#581, but for code introduced after that change (in cdk8s-team/cdk8s-core#1573).
LazyResolver
usesinstanceof
to check for instances ofLazy
, which fails in a fair amount of cases similar to those described in cdk8s-team/cdk8s-core#581:https://github.com/cdk8s-team/cdk8s-core/blob/fe4afa3ddc808e3fc87fe67b84334fa2400f4fe0/src/resolve.ts#L58-L69
The solution can probably be similar to cdk8s-team/cdk8s-core#1112.
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: