Skip to content

fixing enum compare to be case insensitive for FFEnumParseString#217

Open
Chengxuan wants to merge 1 commit into
hyperledger:mainfrom
kaleido-io:fixing-enum-compare
Open

fixing enum compare to be case insensitive for FFEnumParseString#217
Chengxuan wants to merge 1 commit into
hyperledger:mainfrom
kaleido-io:fixing-enum-compare

Conversation

@Chengxuan

Copy link
Copy Markdown
Contributor

Among all functions apart from Value() , the usage of enum values follows a case-insensitive pattern and treats lower case as canonical.

This PR updates the FFEnumParseString to also be case-insensitive when looking up a string against registered values.

Signed-off-by: Chengxuan Xing <chengxuan.xing@kaleido.io>
@Chengxuan Chengxuan requested a review from a team as a code owner June 5, 2026 15:07
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.

1 participant