Posted by
Sabine M. on
Jul 19, 2013; 7:24am
URL: https://forum.world.st/Voyage-Circular-references-tp4691940p4699491.html
Hi Esteban,
yes, now the Rectangle Example works after doing the reset.
But saving my model still leads to a non responding image because
Voyage is trying to write json for all model stuf deep deep deep and
circular. Perhaps same like:
http://forum.world.st/Voyage-Circular-references-td4691940.html#a4699436I dont know anything about Magritte (yet) and I need a hint what to
define in my model so that it stops creating json at certain points
and creates only e.g. a Symbol.
Example: My model instance of trip has a connection to an instance of
country. The country should not be written in json with all its
definitions. Voyage should only write e.g. #germany in the json and
later, when getting the instance back from the database, I want to
reassign the trip to the country.
I already implemented this stuff when working witk Mongotalk the last
months and it worked fine. But my question yesterday:
http://forum.world.st/MongoDB-open-close-in-production-singleton-or-not-td4699322.htmllead to my impression that I should use voyage.
So, how can I define the "borders"?
Sabine
On Thu, Jul 18, 2013 at 7:45 PM, EstebanLM [via Smalltalk]
<
[hidden email]> wrote: