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

Cleaner way to specify projection via builder #82

Open
Jefffrey opened this issue Apr 6, 2024 · 0 comments
Open

Cleaner way to specify projection via builder #82

Jefffrey opened this issue Apr 6, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request medium Medium priority

Comments

@Jefffrey
Copy link
Collaborator

Jefffrey commented Apr 6, 2024

let projection = ProjectionMask::named_roots(builder.file_metadata().root_data_type(), fields);
builder.with_projection(projection).build()

Bit clumsy to require the builder to create a projection which is then passed back to the builder

Find a cleaner way to do this

@Jefffrey Jefffrey self-assigned this Apr 6, 2024
@Jefffrey Jefffrey added enhancement New feature or request medium Medium priority labels Apr 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request medium Medium priority
1 participant