-
Notifications
You must be signed in to change notification settings - Fork 25
fix(types-json): Disable HTML escaping during JSON marshalling #714
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
Merged
kodiakhq
merged 3 commits into
cloudquery:main
from
erezrokah:fix/disable_html_escaping_json
Mar 2, 2023
Merged
fix(types-json): Disable HTML escaping during JSON marshalling #714
kodiakhq
merged 3 commits into
cloudquery:main
from
erezrokah:fix/disable_html_escaping_json
Mar 2, 2023
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
⏱️ Benchmark results
|
candiduslynx
approved these changes
Mar 1, 2023
hermanschaaf
approved these changes
Mar 2, 2023
yevgenypats
approved these changes
Mar 2, 2023
4d55222
to
d4e2eb4
Compare
d4e2eb4
to
3539900
Compare
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #714 +/- ##
==========================================
+ Coverage 48.77% 48.81% +0.03%
==========================================
Files 70 70
Lines 6887 6892 +5
==========================================
+ Hits 3359 3364 +5
Misses 3063 3063
Partials 465 465
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
candiduslynx
approved these changes
Mar 2, 2023
kodiakhq bot
pushed a commit
that referenced
this pull request
Mar 2, 2023
🤖 I have created a release *beep* *boop* --- ## [1.41.0](v1.40.0...v1.41.0) (2023-03-02) ### Features * Deterministic _cq_id ([#712](#712)) ([2e7ad2c](2e7ad2c)) * **multiplex:** Detect duplicated clients ([#723](#723)) ([dfb039d](dfb039d)) ### Bug Fixes * Cleanup code ([#710](#710)) ([963f03c](963f03c)) * **deps:** Update golang.org/x/exp digest to c95f2b4 ([#718](#718)) ([de52c10](de52c10)) * **deps:** Update google.golang.org/genproto digest to 9b19f0b ([#719](#719)) ([ecfddea](ecfddea)) * **deps:** Update module github.com/rivo/uniseg to v0.4.4 ([#720](#720)) ([0da69b6](0da69b6)) * **deps:** Update module github.com/stretchr/testify to v1.8.2 ([#721](#721)) ([19c0742](19c0742)) * **pk:** Skip filter for no PK ([#709](#709)) ([d0c2e26](d0c2e26)) * **types-json:** Disable HTML escaping during JSON marshalling ([#714](#714)) ([2f6f1d8](2f6f1d8)) * **types-timestamp:** Ensure timestamp is UTC ([#716](#716)) ([bb33629](bb33629)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #622
See docs about the default behavior of


json.Marshal
:https://pkg.go.dev/encoding/json#Marshal
See also https://pkg.go.dev/encoding/json#Encoder.SetEscapeHTML:
Use the following steps to ensure your PR is ready to be reviewed
go fmt
to format your code 🖊golangci-lint run
🚨 (install golangci-lint here)