Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: Double quoted JSON handling #471

Merged
merged 2 commits into from
Jun 27, 2024
Merged

Conversation

nieomylnieja
Copy link
Collaborator

Motivation

The issue is extensively covered in this issue: goccy/go-yaml#455

Summary

Added test case and replaced goccy/go-yaml with our fork.
For now I'm pinning the commit SHA from the PR branch.
I'm not sure if the upstream is actively maintained anymore, we might just want to go further with the fork instead of the replace clause.

Related changes

Testing

Test case was supplied.

Release Notes

Fixed incorrect handling of double quoted JSON literals which caused errors when unmarshaling CloudWatch v1alpha SLOs
with certain json queries.

@nieomylnieja nieomylnieja merged commit 4e54bd7 into main Jun 27, 2024
5 checks passed
@nieomylnieja nieomylnieja deleted the fix-double-quoted-json-handling branch June 27, 2024 11:13
nieomylnieja added a commit to nobl9/sloctl that referenced this pull request Jun 27, 2024
## Related changes

- nobl9/nobl9-go#471

## Release Notes

Fixed incorrect handling of double quoted JSON literals which caused
errors when unmarshaling CloudWatch v1alpha SLOs
with certain `json` queries.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working go patch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants