Re: 4.1 templates with relationships

Andrus Adamchik <[email protected]>
Newsgroups gmane.comp.java.cayenne.devel
Message-ID <[email protected]>

> On Jul 18, 2018, at 4:04 PM, Maik Musall <[email protected]> wrote:
> 
>> 
>> BTW, with your Gson serialization, how do you deal with controlled serialization of essentially infinite graphs? Do you provide a spec of how deep to go down the relationships path?
> 
> I don't have that problem in my experimentation project because I can use an ExclusionStrategy there that solves it. If actual cyclic references need to be expressed, I guess that would be a custom solution with semantics encoded in JSON that the consumer on the other end would need to know about. But I'm not trying to serialize my entire database to someone :)

I was asking as LinkRest provides essentially such framework / semantics. And it is far from trivial on the backend.

Andrus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.