-
Notifications
You must be signed in to change notification settings - Fork 43
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
Adjust documentation for Elem() #2187
Conversation
Toward fixing #1828 Document current findings and add tests for PF representations.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2187 +/- ##
=======================================
Coverage 60.65% 60.65%
=======================================
Files 350 350
Lines 45930 45930
=======================================
Hits 27857 27857
Misses 16533 16533
Partials 1540 1540 ☔ View full report in Codecov by Sentry. |
Looks like PF has an ObjectAttribute as well, let me test that. |
pf/tests/repr_test.go
Outdated
autogold.Expect(`{ | ||
"resources": { | ||
"_": { | ||
"object_attribute": { |
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.
Interestingly enough this may look like a single-nested block to shim.Schema; it doesn't carry the distinction is it an attr or block in shim.Schema. May be allright for now but can cause some trouble in the corner cases perhaps.
This PR has been shipped in release v3.87.0. |
Follow up on #2187 with shim translation tests for sdkv2 schemas. In sdkv2 the translations map 1:1 as far as I can tell.
Toward fixing #1828
Document current findings and add tests for PF representations.