-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Store IsLoaded flags in proxy for better lazy-loading experience #12780
Labels
breaking-change
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
customer-reported
type-enhancement
Milestone
Comments
This was referenced Jul 24, 2018
ajcvickers
added a commit
that referenced
this issue
Feb 18, 2019
Issue #12780 Main changes: * Make ILazyLoader a transient service and create one per entity * Add API to set IsLoaded state in ILazyLoader * Call back into any ILazyLoader service property when setting loaded state * Ensure that IsLoaded is called, even when doing no-tracking Include queries
ajcvickers
added
the
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
label
Feb 18, 2019
ajcvickers
added a commit
that referenced
this issue
Feb 23, 2019
Issue #12780 Main changes: * Make ILazyLoader a transient service and create one per entity * Add API to set IsLoaded state in ILazyLoader * Call back into any ILazyLoader service property when setting loaded state * Ensure that IsLoaded is called, even when doing no-tracking Include queries
ajcvickers
added a commit
that referenced
this issue
Feb 28, 2019
Issue #12780 Main changes: * Make ILazyLoader a transient service and create one per entity * Add API to set IsLoaded state in ILazyLoader * Call back into any ILazyLoader service property when setting loaded state * Ensure that IsLoaded is called, even when doing no-tracking Include queries
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
breaking-change
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
customer-reported
type-enhancement
We currently need to access the state entry to know whether or not a property is loaded. This is problematic when an entity is not tracked or not loaded, since there is no state entry that can be (safely) accessed. Instead, when using proxies the IsLoaded state could be stored in the proxy, so we we know, for example, whether the navigation is loaded already (even if null/empty) and can avoid throwing.
The text was updated successfully, but these errors were encountered: