Skip to content

Implement SliceValue for better list semantics#216

Merged
therealmitchconnors merged 4 commits into
spf13:masterfrom
therealmitchconnors:elegant
Sep 17, 2019
Merged

Implement SliceValue for better list semantics#216
therealmitchconnors merged 4 commits into
spf13:masterfrom
therealmitchconnors:elegant

Conversation

@therealmitchconnors
Copy link
Copy Markdown
Collaborator

This proposal would supercede #215 and #181 with a more elegant solution. If accepted, SliceValue and ArrayValue would be implemented by all Slice and Array flag value types. This design creates a common interface for these values without corrupting the Value interface, which needs to stay compatible with the Go Flags interface.

@therealmitchconnors
Copy link
Copy Markdown
Collaborator Author

@eparis @bep, what do you think of this design?

@bep
Copy link
Copy Markdown
Collaborator

bep commented Aug 26, 2019

I don't know this project good enough to have an opinion.

@therealmitchconnors therealmitchconnors changed the title WIP: Add first SliceValue implementations Implement SliceValue for better list semantics Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants