-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Rename pdata.AnyValueArray to AttributeSlice #4325
Rename pdata.AnyValueArray to AttributeSlice #4325
Conversation
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
da453e8
to
794e3e3
Compare
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
Codecov Report
@@ Coverage Diff @@
## main #4325 +/- ##
=======================================
Coverage 88.13% 88.13%
=======================================
Files 176 176
Lines 10425 10425
=======================================
Hits 9188 9188
Misses 1005 1005
Partials 232 232
Continue to review full report at Codecov.
|
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.
LGTM in general except that small inconsistency, can be done in a separate PR but we need to confirm the names here.
…tor into feat/AttributeSlice
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
…tor into feat/AttributeSlice
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
…tor into feat/AttributeSlice
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.
Thanks for addressing my comments!
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.
Will not merge until contrib is green with what is merged in main. It means someone needs to upgrade contrib to pass with the current main before this gets merged to not have more than one breaking change to fix.
Since the PR is fixing names I feel compelled to comment on naming despite 3 approvals :-) AttributeSlice doesn't seem like a good name for an array of values. This is not a slice of attributes. Attributes are key/value pairs. This is a slice of AnyValue. May be call it AttributeValueSlice? (a bit too long IMO). I believe attribute means a distinct thing and this uses the term incorrectly. |
@tigrannajaryan sounds good to me |
Yes, I think it is fine to rename Array->Slice. |
…tor into feat/AttributeSlice
What then of |
AttributeMap stores attributes, every entry has a "key" and a "AnyValue" |
So I think the mapping is:
|
…tor into feat/AttributeSlice
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
Signed-off-by: Anthony J Mirabella a9@aneurysm9.com