Skip to content

Conversation

russcam
Copy link
Contributor

@russcam russcam commented Jun 30, 2020

This commit updates the EnumFormatter to parse case-insensitive
when falling back to the Enum.Parse method, which happens when
a value is not found in a mapping built from EnumMember/DataMember
value or field name.

Fixes #4817

This commit updates the EnumFormatter to parse case-insensitive
when falling back to the Enum.Parse method, which happens when
a value is not found in a mapping built from EnumMember/DataMember
value or field name.

Fixes #4817
Copy link
Member

@Mpdreamz Mpdreamz left a comment

Choose a reason for hiding this comment

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

LGTM

@russcam russcam merged commit 09ac0c5 into master Jul 1, 2020
@russcam russcam deleted the fix/4817 branch July 1, 2020 23:26
github-actions bot pushed a commit that referenced this pull request Jul 1, 2020
This commit updates the EnumFormatter to parse case-insensitive
when falling back to the Enum.Parse method, which happens when
a value is not found in a mapping built from EnumMember/DataMember
value or field name.

Fixes #4817
github-actions bot pushed a commit that referenced this pull request Jul 1, 2020
This commit updates the EnumFormatter to parse case-insensitive
when falling back to the Enum.Parse method, which happens when
a value is not found in a mapping built from EnumMember/DataMember
value or field name.

Fixes #4817
russcam added a commit that referenced this pull request Jul 1, 2020
…4842)

This commit updates the EnumFormatter to parse case-insensitive
when falling back to the Enum.Parse method, which happens when
a value is not found in a mapping built from EnumMember/DataMember
value or field name.

Fixes #4817

Co-authored-by: Russ Cam <russ.cam@elastic.co>
russcam added a commit that referenced this pull request Jul 1, 2020
…4843)

This commit updates the EnumFormatter to parse case-insensitive
when falling back to the Enum.Parse method, which happens when
a value is not found in a mapping built from EnumMember/DataMember
value or field name.

Fixes #4817

Co-authored-by: Russ Cam <russ.cam@elastic.co>
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.

Enum Parser should ignore case.
2 participants