Reference to type in canonical transform

#1

How do we reference another type in our canonical transform for example we want to reference hub (Airport) from aircraft.
in our Airline exercise
Should the following work?

hub : ~expression '{id: "Airport.id"}'

0 Likes

#2

Thanks Arnoud,

Can you provide your canonical type definition?

0 Likes

#3

Thanks, Maggie helped us out in class, it should be:

hub : ~ expression '{"id" : "hub"}'

0 Likes