Skip to content
This repository has been archived by the owner on Aug 12, 2022. It is now read-only.

JSON column validation rejects []struct #109

Closed
bbernays opened this issue Nov 13, 2021 · 0 comments · Fixed by #110
Closed

JSON column validation rejects []struct #109

bbernays opened this issue Nov 13, 2021 · 0 comments · Fixed by #110
Assignees

Comments

@bbernays
Copy link
Contributor

bbernays commented Nov 13, 2021

When trying to store a JSON object in PG that has a []struct type in Go, we recieve the following error:

insert failed column fields expected TypeJSON got []struct

This seems very similar to #36

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants