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

Fixed behaviour of InitialValue when the value contains a dot #72

Merged
merged 1 commit into from
Aug 13, 2023

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