dvdkruk / spray

Automatically exported from code.google.com/p/spray
0 stars 0 forks source link

Definition of to and from property for connection reference inside class doesn't make sense #279

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The usage of to and from property as part of a connection configuration done 
inside a class connection reference should be marked as an error as from is 
always the containing class and to are all elements compatible to the domain 
model reference type.

class EClass {
   ...
   references {
       eSuperTypes : connection ReferenceConnection
       {
          name into name
       } 
       {
          from ... // doesn't make sense here
          to ... // doesn't make sense here
       }
   }
   ...
}

Original issue reported on code.google.com by de.abg.r...@gmail.com on 14 Jul 2013 at 2:19