Skip to content

Cannot resolve a reference with multiple candidates (two model instances with same identifier) #2035

Answered by jamonholmgren
zisiszikos asked this question in Ideas
Discussion options

You must be logged in to vote

I've released a new library to help with this problem, which I think is pretty cool, well-tested, and pretty well documented.

Please check it out and let me know what you think about it!

It's called mst-reference-pool and you can find it here:

https://github.com/infinitered/mst-reference-pool

In a nutshell, it gives you tools to easily create a pool of instances, and then you simply use references from anywhere on the tree. It also comes with a garbage collector so you don't end up with a memory leak when instances are no longer referenced from anywhere.

Replies: 17 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by coolsoftwaretyler
Comment options

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
10 participants
Converted from issue

This discussion was converted from issue #1156 on June 28, 2023 03:22.