Skip to content
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 AnyExpression as Constraint #232

Merged
merged 37 commits into from
Apr 6, 2023
Merged

Commits on Apr 6, 2023

  1. Configuration menu
    Copy the full SHA
    69814df View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    443b6bb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8a69f38 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a2863b9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8ce9322 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a2ddf05 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    15c2651 View commit details
    Browse the repository at this point in the history
  8. decoder: Test hover for Any

    dbanck committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    35b12df View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    3254aaf View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    24300d4 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    090284b View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    721fa94 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    e00d6f8 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    fe14f25 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    5e67d86 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    0503b17 View commit details
    Browse the repository at this point in the history
  17. decoder: Fix return type comparison in functionExpr

    go-cty's understanding of type conformity is a lot stricter than Terraform's, mostly for historical reasons.
    
    For example, in Terraform `"42"` is convertible to `42`.
    Similarly, in `number_attr = "${var.number}"` the template expression is technically a string,
    and while this is *not* the preferred way to write it, it works nonetheless.
    This used to be the only way to do interpolation in older Terraform versions (<0.12).
    
    Some other products (language servers) may find the stricter comparison more helpful, but we don't have
    enough real feedback/use cases to make the comparison customizable in any way. It is something we could
    consider in the future though.
    radeksimko authored and dbanck committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    4f0a6fd View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    70e9187 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    63ba8d3 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    2fb6cc9 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    9c744a1 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    2e12db4 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    73a54e1 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    9f763e5 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    e7a6667 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    b80119d View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    c82e3fa View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    5feeaa6 View commit details
    Browse the repository at this point in the history
  29. decoder: Add remaining tests for Any

    radeksimko authored and dbanck committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    250321c View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    352c5e1 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    fbb9361 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    1266df0 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    6f40469 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    4dd2044 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    84d0789 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    9ed053d View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    f2c8ee0 View commit details
    Browse the repository at this point in the history