Skip to content

Conversation

@hermanschaaf
Copy link
Member

This catches a new class of bug where an already-marshalled string or byte-slice gets passed to a JSON column. This results in string that gets doubly-marshalled, which is not the intention. Instead, either the unmarshalled object should be passed in, or the column type should be changed to string.

@hermanschaaf hermanschaaf changed the title Test that JSON columns don't receive string values feat: Test that JSON columns don't receive string values Sep 21, 2022
@github-actions github-actions bot added the feat label Sep 21, 2022
@kodiakhq kodiakhq bot merged commit d730fdb into main Sep 21, 2022
@kodiakhq kodiakhq bot deleted the test-json-columns branch September 21, 2022 11:52
hermanschaaf pushed a commit that referenced this pull request Sep 21, 2022
🤖 I have created a release *beep* *boop*
---


##
[0.7.11](v0.7.10...v0.7.11)
(2022-09-21)


### Features

* Test that JSON columns don't receive string values
([#156](#156))
([d730fdb](d730fdb))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
kodiakhq bot pushed a commit to cloudquery/cloudquery that referenced this pull request Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants