circular dependencies

N

NSpace

Guest
Hello.
I have a problem with my Domain classes in two plugins.
PluginA has a Domain class Foo with
Code:
static hasMany = [bar: Bar]
whereby 'Bar' is in PluginB.
PluginB has a Domain class Bar with
Code:
static belongsTo = [foo: Foo]
whereby 'Foo' is in PluginA.
If it's possible they should remain separate. But I have no idea how can I make this work without merging them.
Does anyone have an idea or is merging them the only possibility?
 
Top