-
Notifications
You must be signed in to change notification settings - Fork 539
Remove untagged Component::descriptor()
#10038
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
Conversation
Web viewer built successfully. If applicable, you should also test it:
Note: This comment is updated whenever you push a commit. |
6273747
to
ef67f98
Compare
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.
looks good!
interestingly this now for the first time makes "untagged" a concept in the codebase, but I figure that's how we used the term by now anyways
Do you think we should come up with a different name / type? |
I'm nervous about "untagged" because of the rerun-historical connotation: There was a world where we had only component name so this was truly untagged. But since 0.22 everything always has a tag, just that that tag is sometimes component-name-only. Calling component-name-only "untagged" rubs me a little bit the wrong way because compared to 0.21 it's still technically tagged. But a) that's ancient past now and b) I don't have any better idea what to call this either and it's good to give it a name! |
We have decided on calling these type of descriptors partial instead of untagged. |
Related
What
Another big step towards having full tagging support in the viewer. By removing
Component::descriptor()
we make it harder to accidentally use untagged descriptors and therefore reduce bugs in our code, and in our users code.This refactor goes right up to the point where we have to change our SDKs, so there is more design work to be made (via new
AnyValues
).To achieve this we still rely on untagged components when implementing
ComponentBatch::descriptor
(left todos there).Next steps are:
Component::name()
)AnyValues
AnyValues
should use argument names to setarchetype_field_name
metadata #9906 for all SDKs.ComponentDescriptor::new
more explicit when using untagged components or prevent untagged components all together by removing the optionals.ComponentBatch
(Maybe we wait for the removal of indicator components).Dependency