Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUGFIX] use internalModel promise if already loading #5562

Merged
merged 3 commits into from
Aug 9, 2018

Conversation

runspired
Copy link
Contributor

@runspired runspired commented Aug 8, 2018

Will need backported to 3.2/3.3 in addition to landing in a new 3.4 beta.

This resolves an issue that @wagenet and I debugged wherein async belongsTo relationships would not wait for internalModels that are loading. The eager resolve would then leave the relationship in a state that appeared to be empty.

[WIP] Working on adding a test still.

@runspired runspired changed the title use internalModel promise if already loading [BUGFIX] use internalModel promise if already loading Aug 8, 2018
@jrjohnson
Copy link
Contributor

Great fix! Thanks. Is it difficult to backport this? It clears up some issues preventing us from getting to 3.2 or 3.3. I can easily wait for 3.4, but just wanted to mention it.

NullVoxPopuli pushed a commit to NullVoxPopuli/data that referenced this pull request Sep 8, 2018
* use internalModel promise if already loading

* add tests

* prettier to the prettier gods
@runspired runspired added 🏷️ bug This PR primarily fixes a reported issue and removed Regression labels Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bug This PR primarily fixes a reported issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants