-
Notifications
You must be signed in to change notification settings - Fork 61
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
Title token using an async relationship #42
Comments
It would be nice to add support for promises returned from the |
That did the trick, thanks! |
I've made a pull request to resolve this issue quite a long time ago, but it hasn't been reviewed and merged yet. It seems that this project is not being supported anymore :( |
Sorry about that. I don't use Ember for work at the moment, so fitting in working on addons is a bit harder than it used to be. |
Hi there! First off, thanks a lot for this great add-on. I've been using it for a while and just found out a (minor) issue.
I have a
models/foo.js
with anasync
relationship to auser
such as:In my
routes/foo.js
I have the followingtitleToken
:Because
user
is async,user.firstName
isundefined
at this point (user
is still aPromise
). When the promise is resolved, the title does not recompute so my title stays empty.Would you have any recommendation about how to circumvent this issue? Thanks!
The text was updated successfully, but these errors were encountered: