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

Immutable types #39

Open
et1975 opened this issue Oct 11, 2018 · 1 comment
Open

Immutable types #39

et1975 opened this issue Oct 11, 2018 · 1 comment
Labels
enhancement New feature or request

Comments

@et1975
Copy link

et1975 commented Oct 11, 2018

Is your feature request related to a problem? Please describe.
Would be nice if the types generated were immutable (even if they remain CLIMutable). I understand that minimizing copying might have been the goal, but there gotta be a relatively inexpensive way to implement x.ReadFrom that doesn't involve mutation (at least I think that's where the mutability comes in).

Describe the solution you'd like
I'll take any.

Describe alternatives you've considered
Live with the mutable types.

Additional context
n/a.

@7sharp9
Copy link
Contributor

7sharp9 commented Oct 16, 2018

Hmm, record update syntax is a possibility...

@7sharp9 7sharp9 added the enhancement New feature or request label Nov 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants