You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ROOT/pages/types/relationships.adoc
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,6 +65,8 @@ You can add relationship properties to the example in two steps:
65
65
. Add a type definition decorated with the `@relationshipProperties` directive, containing the desired relationship properties.
66
66
. Add a `properties` argument to both "sides" (or just one side, if you prefer) of the `@relationship` directive which points to the newly defined interface.
67
67
68
+
Relationship properties fields can only be primitive types or their list variants. You cannot map complex types such as object types into the types modelling relationship properties.
69
+
68
70
For example, suppose you want to distinguish which roles an actor played in a movie:
0 commit comments