I am trying to create a loopback:relationship using API Connect? I'm trying to create a simple relationship for two models. Lets say the first model is Customer and the second model is Order. I want to create relationship where the Customer has many Orders. Lets say I create a Customer model with two fields name (string) and age (number) and I create an Order model with two fields description (string) and date (date). I then run
apic loopback:relation
to create a Customer "hasMany" Orders. I specify the following:
Select the model to create the relationship from: Customer
Relation Type :has many
Choose a model to create a relationship with: Order
Enter the property name for the relation: (orders) ERROR undefined
Seems to work fine using the old slc loopback but not in APIC. Is this a bug, or am I doing something wrong? Thanks!