Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

StructArray convenience methods (redux) #1344

Open
hohav opened this issue Dec 24, 2022 · 0 comments
Open

StructArray convenience methods (redux) #1344

hohav opened this issue Dec 24, 2022 · 0 comments

Comments

@hohav
Copy link
Contributor

hohav commented Dec 24, 2022

I see #61 is marked as completed, but the methods discussed don't seem to exist. Besides that, I'd guess that most of the time when a caller knows a certain field exists, they probably also know its type. So I'd love to be able to do something like this:

arr.child::<PrimitiveArray<u64>>("id").unwrap()

Thoughts? I can take a stab at a PR, if it seems worthwhile.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant