Skip to content

Conversation

@equipatuequipo
Copy link

When the InitialValue value contained a dot it was incorrectly assumed it was an enum, this caused issues when using DateTime.Now for example.

This fix first checks that the Type is not a predefined type and then checks if it is an enum before using it as such.

@msawczyn msawczyn merged commit 621e550 into msawczyn:master Aug 13, 2023
@equipatuequipo equipatuequipo deleted the initial-value-fix branch August 17, 2023 09:13
@msawczyn msawczyn added this to the 4.2.6 milestone Oct 11, 2023
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.

2 participants