This is an attempt to reproduce a bug seen moving from 3.27 to 3.28 of ember-data (while on 3.28 of ember-source) where computed properties dependent upon async relationships no longer recompute once those relationships are fulfilled.
Run the app, open it, view the console to see the logging in the computed property
on Post
that depends upon the comments
async relationship. It logs once.
If you uncomment comments.isFulfilled
as a dependent key, it will recompute and
you will see the authors load.
If you change the template to use this.model.authorsTracked
it will log twice,
once not fulfilled and once fulfilled.
When authors do load, for the CP version only, the value of the attributes are not working in the template
Branch ember-data-327
is the same application with Ember Data 3.27, both of the
above issues do not exist on this branch
Branch ember-4
is upgraded to Ember 4.x and ember-data 4.2.0-beta.0
This README outlines the details of collaborating on this Ember application. A short introduction of this app could easily go here.
You will need the following things properly installed on your computer.
git clone <repository-url>
this repositorycd datatest
yarn install
ember serve
- Visit your app at http://localhost:4200.
- Visit your tests at http://localhost:4200/tests.
Make use of the many generators for code, try ember help generate
for more details
ember test
ember test --server
yarn lint
yarn lint:fix
ember build
(development)ember build --environment production
(production)
Specify what it takes to deploy your app.