Skip to content
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

serde internally tagged not working #5

Open
dvic opened this issue Aug 21, 2024 · 1 comment
Open

serde internally tagged not working #5

dvic opened this issue Aug 21, 2024 · 1 comment

Comments

@dvic
Copy link

dvic commented Aug 21, 2024

Could it be that using #[serde(tag = "type")] causes issues? I haven't investigated it in detail, but it seems like a serialize/deserialize roundtrip is failing because of this.

@awoimbee
Copy link

I have the same issue with untagged enums, I get errors about no variant matching when using sqlx's Json<T> works.

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

No branches or pull requests

2 participants