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

Re-evaluate ValueGetters if the current value is null during binding evaluation #217

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bevanweiss
Copy link
Contributor

As reported in Issue #216, when using a calculated binding, with a ValueGetter, the getter appears to be evaluted only once when initially converted to a TypeNode.
This is unfortunately prior to any deserialized values being realised.

This is a slightly hacky solution, but simply re-attempts to evaluate getters where this is the case.

with a ValueGetter, the getter appears to be evaluted only once
when initially converted to a TypeNode.
This is unfortunately prior to any deserialized values being realised.

This is a slightly hacky solution, but simply re-attempts to evaluate
getters where this is the case.


Signed-off-by: Bevan Weiss <[email protected]>
@bevanweiss bevanweiss force-pushed the hacky_deferred_evalution_of_getters branch from a374d52 to 4a4f139 Compare June 12, 2023 02:18
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.

1 participant