Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Late binding: ignoring the proxies in certain cases #14

Open
mschipperheyn opened this issue Jun 23, 2016 · 0 comments
Open

Late binding: ignoring the proxies in certain cases #14

mschipperheyn opened this issue Jun 23, 2016 · 0 comments

Comments

@mschipperheyn
Copy link
Owner

You can use the proxy to get an object reference from a provided state so, you don't have to manually retrieve the id from the state. This is great because it allows you to use you normalized object structures as if they had never been normalized.

However, in some cases you want to be able to turn this off. For instance, when you merge data or when you serialize data for storage.

It would be ideal if you could late bind the state to the proxy so it will only process the proxies if the state is bound and otherwise, it will just return the id. The challenging thing is that this is a deeply nested structure.

Any ideas?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant