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

Implemented a reference version of Plucker/ByNameFieldPlucker #240

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

kgtkr
Copy link

@kgtkr kgtkr commented Mar 1, 2025

I want to use Plucker for &HCons<..., HCons<..., HCons<...>>>. How about something like this?

@@ -85,3 +90,31 @@ fn test_mixed_conversions_round_trip() {
let u_again: SavedUser = convert_from(au);
assert_eq!(u_again, before)
}

#[test]
fn test_pluck() {
Copy link
Author

Choose a reason for hiding this comment

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

I'm not sure if this is the right place to write a test. I added it as a usage example, but I'll delete it if it's not needed.

Copy link
Owner

@lloydmeta lloydmeta left a comment

Choose a reason for hiding this comment

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

Thanks for sending this. It's been a while since these were implemented so it could just be memory loss on my part but I'm a bit surprised that we didn't have this 😅

On the whole this makes sense, I just want some time to double check the above.

Copy link
Owner

@lloydmeta lloydmeta left a comment

Choose a reason for hiding this comment

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

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.

2 participants