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

Implement Split for json_serde::Value #35

Merged
merged 4 commits into from
Dec 4, 2024

Conversation

mxgrey
Copy link
Contributor

@mxgrey mxgrey commented Nov 27, 2024

This PR implements the new split operation for serde_json::Value. I also cleaned up two more things while working on that:

  • Give explicit lifetimes to Chain::split operations so the FnOnce build functions could output something that utilizes those lifetimes
  • Refactor SplitAsMap::next so that anything using MapSplitKey can take advantage of the premade next for it.

@mxgrey mxgrey requested a review from koonpeng November 27, 2024 10:30
Copy link
Collaborator

@koonpeng koonpeng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to move the changes in src/chain.rs and src/chain/split.rs to a separate PR targeting main?

@koonpeng koonpeng merged commit 0d56aff into koonpeng/service-registry Dec 4, 2024
5 checks passed
@koonpeng koonpeng deleted the serialized_split branch December 4, 2024 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants