Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upDiesel use serde_json::Value for struct field failed #1841
Comments
This comment has been minimized.
|
As the docs metion you need to enable the |
weiznich
closed this
Sep 11, 2018
This comment has been minimized.
Raytlty
commented
Sep 12, 2018
|
@weiznich Much Appreciate! I figured it out yesterday. THX reply. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Raytlty commentedSep 11, 2018
Setup
Versions
Feature Flags
Problem Description
src/core/person.rs
src/schema.rs
I want to add Insertable and AsChangeset macro to struct Person.
And Person has a Json Field. But it failed.
Does diesel fully support Postgres Json? Thanks.
What are you trying to accomplish?
Use diesel and support json field at the model.
What is the expected output?
I want cargo build can success
What is the actual output?
Raise a lot of errors like
Are you seeing any additional errors?
Steps to reproduce
Checklist
closed if this is not the case)