Skip to content
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

Generate slice getters/setters in the context #112

Closed
sagikazarmark opened this issue May 28, 2020 · 1 comment · Fixed by #127
Closed

Generate slice getters/setters in the context #112

sagikazarmark opened this issue May 28, 2020 · 1 comment · Fixed by #127
Labels
enhancement New feature or request proposal

Comments

@sagikazarmark
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
I'd like to manage slices in the context easily.

Describe the solution you'd like
Generate slice variants for the current set of primitive types.

Describe alternatives you've considered
Using plain Get is quite cumbersome at the moment. GetAs could be an alternative as proposed in #89

@sagikazarmark sagikazarmark added enhancement New feature or request proposal labels May 28, 2020
@bkielbasa
Copy link
Collaborator

personally, I'd prefer GetAs function. If we choose this solution we'll do the same for maps as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request proposal
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants