Lazy Loading properties once dependent property is set async #3073
-
We are busy migrating our application from CSLA 4.11.2 to CSLA 6.x and WPF to Blazor. An issue that we are currently running into is the following: We have
In the past, and without the requirement of async that Blazor Webassembly enforces, we would handle this using the OnPropertyChanged:
With the requirement of async, and OnPropertyChanged being sync, this is no longer a viable option. We have, against our own better sense and Rocky's many warnings, tried using an async rule and the outcome was unfavorable as expected. What is the correct way to load properties based on the value of another property being set? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
I don't have an answer : ) but I am a little jealous! you folks get to migrate to the latest Csla version. |
Beta Was this translation helpful? Give feedback.
-
I've used an async rule to manage similar lookup properties. |
Beta Was this translation helpful? Give feedback.
-
Often the answer is (possibly) in the question 😆
Idea came from the following discussion: #2094 Will keep you posted. |
Beta Was this translation helpful? Give feedback.
I've used an async rule to manage similar lookup properties.