You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IIRC interface types have no runtime representation--they're only used by the TypeScript compiler--so I don't think that there's any way for us to actually check this when decoding. I agree that this is surprising, but I'm not sure how we can do better without some pretty substantial changes.
Hello!
Issue details
Pulumi doesn't error if the decoded config, from a stack.yaml, doesn't reflect the types being coerced to.
Steps to reproduce
Expected: Error because YAML doesn't decode into interface type
Actual: Decodes fine:
The text was updated successfully, but these errors were encountered: