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

Breaking! Move a lot of get::<T> functions to use serde instead of TryFrom<BoltType> #120

Merged
merged 42 commits into from
Oct 20, 2023

Conversation

knutwalker
Copy link
Collaborator

  • Most usages should keep working as is
  • Getting the timezone offset requires using neo4rs::Offset instead of chrono::FixedOffset as the latter one does not implement serde::Deserialize
  • A lot of other things are now possible

@knutwalker knutwalker force-pushed the serde-get branch 2 times, most recently from b43c139 to 39d7e92 Compare October 14, 2023 20:51
knutwalker and others added 28 commits October 14, 2023 23:37
We still have it in our tests, but the regular dependency tree does no longer include serde_derive.
The dev-dependency is restricted to a slightly older version due versions >=1.0.172,<1.0.184 shipping and executing binary code on the host at build time.
@knutwalker knutwalker marked this pull request as ready for review October 14, 2023 21:40
@knutwalker knutwalker merged commit 632ae44 into neo4j-labs:master Oct 20, 2023
25 checks passed
@knutwalker knutwalker deleted the serde-get branch October 21, 2023 16:13
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

Successfully merging this pull request may close these issues.

None yet

1 participant