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

Resolve Policy not processed as state.resolvePolicy.resolveName #2945

Closed
christopherthielen opened this issue Aug 26, 2016 · 0 comments
Closed

Comments

@christopherthielen
Copy link
Contributor

christopherthielen commented Aug 26, 2016

1.0.0-beta.1

http://plnkr.co/edit/iA3evXG4MltPIYb1C2fQ?p=preview

If you create state like so:

.state({
  name: 'foo', 
  resolve: { foo: () => null },
  resolvePolicy: { foo: { when: 'EAGER' } }
})

the resolve's policy isn't set to EAGER

State level policy works, however:

.state({
  name: 'foo', 
  resolve: { foo: () => null },
  resolvePolicy:  { when: 'EAGER' }
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant