Skip to content

1.4.6 is a breaking change! "W10=" instead of "[]" #152

@yvz5

Description

@yvz5

Don't have time to create a playground link. its just too much work. updating 1.4.5 to 1.4.6 broke our system.

Description

we have a table with a column of type jsonb in postgres. in go, we represent this column with json.RawMessage . in version 1.4.5 we can save an empty array into jsonb column and it would save [] in to the table. now, in the new version (1.4.6), it saves the value "W10=" instead of [] which can not be unmarshalled to a known object in go.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions