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

Warning in ReadOnlyReactiveProperty.ToReadOnlyReactiveProperty #22

Merged
merged 1 commit into from
Jan 11, 2024
Merged

Warning in ReadOnlyReactiveProperty.ToReadOnlyReactiveProperty #22

merged 1 commit into from
Jan 11, 2024

Conversation

enue
Copy link
Contributor

@enue enue commented Jan 10, 2024

Warning occurs in this code.
CS8620, differences in the nullability.

new ReactiveProperty<string>("foo").ToReadOnlyReactiveProperty();

The cause of this is the default parameter of ReactivePropertyExtensions.ToReadOnlyReactiveProperty, "(T initialValue = default(T))".

@neuecc
Copy link
Member

neuecc commented Jan 11, 2024

thanks!

@neuecc neuecc merged commit dc004a8 into Cysharp:main Jan 11, 2024
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