Skip to content
Discussion options

You must be logged in to vote

I think it does, and this is a misunderstanding. When adding a relation component (or creating entities with such), you must specify the target.

After that, you can use Map.SetRelation to move the entity to a different target.

Please double-chack that the error really comes from Map.SetRelation, not from mapper.NewEntity.

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@setanarut
Comment options

Comment options

You must be logged in to vote
3 replies
@mlange-42
Comment options

Answer selected by setanarut
@setanarut
Comment options

@mlange-42
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants