-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix a panic due to non-primitive defaults #136
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #136 +/- ##
==========================================
+ Coverage 79.37% 79.45% +0.08%
==========================================
Files 17 17
Lines 737 740 +3
==========================================
+ Hits 585 588 +3
Misses 88 88
Partials 64 64 ☔ View full report in Codecov by Sentry. |
@blampe Thank you very much for merging a fix. This issue is very annoying. Would it be possible to release a new version of |
This PR has been shipped in release v1.4.0. |
The Pulumi schema doesn't support default values for non-primitive types -- objects and arrays, specifically.
This PR fixes the panic by only setting a default value when the object is primitive.
Fixes #61.
Fixes #68.
Fixes #125.
Fixes #105.