Using RelationInput to create a new item and link to existing ones

I have configured a 1 to many relationship between 2 collections. When trying to use a RelationInput to create 1 new item and link to old items the result is that only the newly created item is linked and the old ones are unlinked. I tried to create the new id in the client and add it in the link array with no success. Only the new item exists in the relation field array.
The only solution was to first create the related object entity and then update the relating entity with the link.

Hi Michael, this is currently a limitation of GraphQL. Your workaround would be the suggested way to go about doing this today. If you’d like to add this as a suggestion for, please do so here - https://feedback.mongodb.com/forums/923521-realm?category_id=388657