-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Added support array attributes #798
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
Added support array attributes #798
Conversation
|
|
|
Sorry, new CLA bot so you'll have to reauthorize. |
28af88a to
52d3435
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.
Breaking slice types apart by underlying type doesn't seem like a good approach.
- Array values are no longer supported with this strategy.
- The smaller more unified old constructor functions from a previous commit seemed to more universally handle user arrays/attributes.
It seems like there might be benefit to having a "getter" functions that could return a typed slice. Though I'm not 100% sure they are needed at this point (most of these key-values are just encoded to attributes as strings) and I think they could be implemented in the previous approach if needed.
52d3435 to
e2d0f2d
Compare
MrAlias
left a comment
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.
This is getting close. The only blocker is the question on on the AsArray function, otherwise minor things.
9ce65e0 to
fcc12d3
Compare
MrAlias
left a comment
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. Just comments need to be updated.
fbcec9b to
1c2bfc9
Compare

No description provided.