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

Renaming an enum #6

Open
schnerd opened this issue Dec 11, 2018 · 0 comments
Open

Renaming an enum #6

schnerd opened this issue Dec 11, 2018 · 0 comments

Comments

@schnerd
Copy link

schnerd commented Dec 11, 2018

First off – love this guide!

I see the note about adding or renaming fields in an enum. I'm wondering about changing the name of an enum. For example:

enum Status = {
  PRIVATE = 0,
  PUBLIC = 1
};

Becomes:

enum Visibility = {
  PRIVATE = 0,
  PUBLIC = 1
};

Same exact field names and values, just a enum name change. Any chance this can be added to the guide?

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

No branches or pull requests

1 participant