Even if my question is simple, I can’t find any answer anywhere.
Suppose I have 2 model classes with a bidiretional one to many relationship to link them.
For exemple, suppose a “Document” who can have many “Pages”.
When I load the document with my rest adapter, I don’t want to load the pages on the same call. I want that when I call document.get(“pages”), a ArrayProxy is return and a magic call is made to the server to fill it. I don’t know if I wrong with this plan but I can’t imagine another way to work.
Can I do that in any way?