-
Notifications
You must be signed in to change notification settings - Fork 26
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
decoder: Add support for Map
as Constraint
#199
Conversation
b3012b7
to
8efff12
Compare
8efff12
to
a1f6732
Compare
2e1b681
to
b938ec7
Compare
54e173d
to
af3e246
Compare
Map
as Constraint
Map
as Constraint
e06082e
to
69df3d0
Compare
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.
Well done! I think everything is working as intended.
Just a small suggestion for another test case.
@dbanck I have made some last minor changes around the handling of the edge cases, as previously mentioned and also fixed one minor bug I found while working on that. PTAL |
This aligns with our design decision in List/Set/Tuple and makes the behaviour consistent + implementation slightly simpler.
037e9b8
to
d6c0804
Compare
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! Thanks for taking the time to update the completion to match List/Set/Tuple
Part of hashicorp/terraform-ls#496
Existing tests were updated as part of ddf691a (not part of this PR) and yield either comparable or better results, except for reference collection, which:
UX