Hello Elixir,

Fairly new to this Elixir + SA abstraction, and the ease of
establishing relationships between entities sold me.  I've attempted
giving this a shot by trying to implement it on a forum system I've
been working on, with the following code:

http://paste.pocoo.org/show/x0kg5V5686py3oYjUadw/

The Topic entity initializes fine without the `lastpost` relationship,
although when attempting to initialize it with the relation specified,
an exception is raised.  Is there something that I am doing wrong that
I need to rectify?  I'm not exactly sure what specifying an `inverse`
argument would do, as I believe I tried passing inverse='Topic' for
the `lastpost` relation.

Exception: Several relations match as inverse of the 'topic' relation
in entity 'Post'. You should specify inverse relations manually by
using the inverse key

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"SQLElixir" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sqlelixir?hl=en.

Reply via email to