Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Introduce experimental pass-through field type #103648
Introduce experimental pass-through field type #103648
Changes from all commits
3cb55c6
c78ac7d
5d75fee
c963956
2a09fbb
95934b0
81352d1
7360729
c174890
38494bb
9fa98ae
0700310
5e1a996
db6afcb
6fd96ae
1bf0c87
8204dc5
997864a
5c125ad
698e281
7598e9b
0e698bd
e5f58fe
5bb6f20
95e2260
25eb507
45bb20c
8a8f3ff
2b78a0c
5ade2db
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why can't object types have a property of type passthrough? I think we were discussing the opposite where properties of the passthrough field type can't be other objects i.e.
subobjects
would be implicitly set tofalse
for passthrough field types.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It complicates how aliases are added to the root object.
We can look into this in a follow-up change - unless Martijn knows of a simple way to navigate to the root object from the passthrough object builders.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gotcha. Another alternative would be to recurse the object mappers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given how we'd want to use the passthrough field type, it would be great if it was supported not only at the root level. See also #104455.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I'll prioritize supporting this and non-keyword dimension fields.