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

chore(dotnet): Improve enum values #5939

Merged
merged 2 commits into from Mar 25, 2021

Conversation

kblok
Copy link
Contributor

@kblok kblok commented Mar 24, 2021

domcontentloaded won't look pretty if we grab it as it is. The same with NetworkIdle.
I think a few more will come.

@@ -40,6 +39,11 @@ const nullableTypes = ['int', 'bool', 'decimal', 'float'];
let documentation;
/** @type {Map<string, string>} */
let classNameMap;
/** @type {Map<string, string>} */
let knownNames = new Map([
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are already a few "maps" around the code, can we call this knownEnumValues or something meaningful?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how about now?

Copy link
Contributor

@avodovnik avodovnik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, all good, thanks!

@avodovnik avodovnik merged commit f791495 into microsoft:master Mar 25, 2021
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.

None yet

2 participants