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

(de)serialize custom JSON types - 2 #794

Merged
merged 3 commits into from
Jun 30, 2022
Merged

(de)serialize custom JSON types - 2 #794

merged 3 commits into from
Jun 30, 2022

Conversation

billy1624
Copy link
Member

@tyt2y3
Copy link
Member

tyt2y3 commented Jun 19, 2022

Kind of works, yeah

@billy1624 billy1624 marked this pull request as ready for review June 21, 2022 07:00
@billy1624 billy1624 requested a review from tyt2y3 June 21, 2022 07:00
@tyt2y3
Copy link
Member

tyt2y3 commented Jun 23, 2022

Awesome. Actually it would be great if we can invite someone to try this

@tyt2y3
Copy link
Member

tyt2y3 commented Jun 26, 2022

Just a nitpick, perhaps DeriveTryGetableFromJson should be named FromJsonQueryResult to be consistent with FromQueryResult. Or they actually do completely different things?

@Sytten
Copy link
Contributor

Sytten commented Jun 28, 2022

I actually need this so I might give it a shot

@tyt2y3 tyt2y3 merged commit ab2f784 into master Jun 30, 2022
@tyt2y3 tyt2y3 deleted the json-field-2 branch June 30, 2022 17:27
@tyt2y3
Copy link
Member

tyt2y3 commented Jun 30, 2022

I actually need this so I might give it a shot

Thank you. Let us know

billy1624 added a commit to SeaQL/seaql.github.io that referenced this pull request Jul 13, 2022
tyt2y3 added a commit to SeaQL/seaql.github.io that referenced this pull request Jul 17, 2022
* Custom join condition (SeaQL/sea-orm#793)

* Migration does not depend on entity crate

* Define integer enum with repr[x] syntax

* Document datatype mappings (SeaQL/sea-orm#772)

* Cursor pagination (SeaQL/sea-orm#754, SeaQL/sea-orm#822)

* (de)serialize custom JSON types (SeaQL/sea-orm#794)

* Generate new migration file (SeaQL/sea-orm#656)

* Skip generating entity file for specific tables (SeaQL/sea-orm#837)

* Generate entity with date time crate option (SeaQL/sea-orm#724)

* Drop `SelectTwoMany::one()` method (SeaQL/sea-orm#813)

* Datatype mappings of primitives (SeaQL/sea-orm#850, SeaQL/sea-schema#75)

* Join with table alias (SeaQL/sea-orm#852)

* SQLx logging level (SeaQL/sea-orm#800)

* Insert with on conflict (SeaQL/sea-orm#791)

* Migrate generate should take file name as argument instead of option (SeaQL/sea-orm#870)

* Upgrade docusaurus to 2.0.0-beta.22

* What's new in SeaORM 0.9.0

* Move migration section forward

* Rename "Generating Database Schema" section to "Generating SeaQuery Statement"

* Fix broken links

* Edit

* Edit

* Edit

* Edit

Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Unable to (de)serialize nested JSON Blobs using serde Traits
3 participants