typhon-project / typhonql

Typhon Query Language
Eclipse Public License 2.0
4 stars 1 forks source link

[BUG] Add support for 1 to many cardinality #79

Closed dicorfu closed 4 years ago

dicorfu commented 4 years ago

Describe the bug

Add support for 1 to many cardinality.

Model For example an entity in the ML:

entity WB_Customers {
    CDI_CODE: string 
    CUSTOMER -> OBLG_GNL[1] 
    WBCUST_WBUSER :->  WB_Users."WB_Users.WBUSER_WBCUST"[*]  //1..*
}

IDE

If the bug happens inside the QL IDE:

tvdstorm commented 4 years ago

Hi @dicorfu not sure what is the problem here in terms of TyphonQL, is there a query that fails?

dicorfu commented 4 years ago

During initialization, when we reset databases, we get the error in the attached file.

ql_error_1_many.txt

tvdstorm commented 4 years ago

Fixed in 8703fb4707580bb0a7801c0edda0f7b431431779