这是indexloc提供的服务,不要输入任何密码
Skip to content

Breaking change with inserting data into "json" type fields #3642

@trival

Description

@trival

I recently upgraded hasura from beta-9 to stable 1.0.0.
My tests indicate that inserting into a field of type "json" now stringifies the data automatically, whereas before i had to stringify the data by hand. Now inserting the string "[1, 2, 3]“ returns the value ""[1, 2, 3]"" in queries, whereas before it was just "[1, 2, 3]".
This is not the case with updating. Here the automatic stringification does not happens.
Is this expected behavior, and will it stay in future versions?

Metadata

Metadata

Assignees

Labels

c/serverRelated to serverk/bugSomething isn't workingp/urgentImmediate action required

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions