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

fix: conversation StartOnEnter #465

Merged
merged 1 commit into from
Jul 25, 2023
Merged

fix: conversation StartOnEnter #465

merged 1 commit into from
Jul 25, 2023

Conversation

Tr00d
Copy link
Contributor

@Tr00d Tr00d commented Jul 25, 2023

The default value is supposed to be true, but the default serializer options ignore default values. As the default for bool is false, the value is never provided.
The main problem is even more significant: true is never the default value on the object itself...

Changing the default serialization options would generate too many side effects.
I set the following on the StartOnEnterproperty instead:

DefaultValueHandling = DefaultValueHandling.Include

#463

--

The default value is supposed to be true, but the default serializer options ignore default values. As the default for bool is false, the value is never provided
@sonarcloud
Copy link

sonarcloud bot commented Jul 25, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@Tr00d Tr00d merged commit 808a03b into main Jul 25, 2023
6 checks passed
@Tr00d Tr00d deleted the conversation-action-fix branch July 25, 2023 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant