Data Fields referring to other Data Types Need to Be list?

Hi, If my I have a data type ‘Event’ and one of the fields is ‘Attendees’ that refers to another data type ‘Attendees’ and there are more than one ‘Attendees’ per event the data field should be a list correct?

Hi there, @anon31591471… if I understand your post correctly, yes, the Attendees field in your Event data type should be a list.

Best…
Mike

Ok awesome thanks @mikeloc !!

1 Like

One thing to keep in mind is that if the number of items in the Attendees list field could be hundreds or thousands, you might be better off from a performance perspective skipping the list field altogether and searching through the Attendee data type for attendees for a particular event. Just food for thought.

Ok thank you I will definitely keep that in mind!