Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

A minimal app & mock back-end to demonstrate that failed async relationship lookups get stuck

Notifications You must be signed in to change notification settings

thirdiron/ember-data-failed-async-relationship-lookup-repro-demo

Repository files navigation

ember-data-failed-async-relationship-lookup-repo-demo

A minimal app & mock back-end to demonstrate that failed async relationship lookups get stuck

If you trigger the retrieval of an async relationship, and then retry your transition after remedying the error, subsequent calls to .get the async relationship continue to return the original failing promise (with error) due to computed property value caching and state held inside of the relationship state object.

Step through the breakpoints of the index route of this small app to see the behavior in action.

  • git clone <repository-url> this repository
  • cd edrelationship-test
  • npm install

Running / Development

Code Generators

Make use of the many generators for code, try ember help generate for more details

Running Tests

  • ember test
  • ember test --server

Linting

  • npm run lint
  • npm run lint:fix

Building

  • ember build (development)
  • ember build --environment production (production)

Deploying

Specify what it takes to deploy your app.

Further Reading / Useful Links

About

A minimal app & mock back-end to demonstrate that failed async relationship lookups get stuck

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published