Replies: 2 comments
-
|
Output from the test: |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Oops, I created this in the wrong repo 😮 I have created this instead: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I think it's a bit confusing that StringEnumConverter.AllowIntegerValues has the documentation:
"Gets or sets a value indicating whether integer values are allowed when serializing and deserializing."
That gives the impression that that when you serialize you will get the int value of the enum. If I just remove the converter the test passes.
Code reproducing the issue using xunit:
Beta Was this translation helpful? Give feedback.
All reactions