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

IReadonlyProperty<R> Select<T, R> (.net) #357

Closed
Lailore opened this issue Nov 5, 2022 · 0 comments · Fixed by #418
Closed

IReadonlyProperty<R> Select<T, R> (.net) #357

Lailore opened this issue Nov 5, 2022 · 0 comments · Fixed by #418
Assignees
Labels

Comments

@Lailore
Copy link

Lailore commented Nov 5, 2022

MappedProperty при Advise не соблюдает поведение IReadonlyProperty, а именно не вызывает handler, если значение уже есть.

var test = new ViewableProperty<string>("Hello");
test.Select(x => x + " world!").Advise(Lifetime.Eternal, Debug.Log);
test.Advise(Lifetime.Eternal, Debug.Log);

Результат: выводиться только "Hello"
Ожидается: выводяться как "Hello", так и "Hello world!"

@ForNeVeR ForNeVeR added the bug label Nov 5, 2022
@ForNeVeR ForNeVeR self-assigned this Jul 1, 2023
ForNeVeR added a commit that referenced this issue Jul 10, 2023
Iliya-usov added a commit that referenced this issue Jul 11, 2023
(#357) MappedProperty: should produce the current value on Advise
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 a pull request may close this issue.

2 participants