Skip to content

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

Closed
@christopherthielen

Description

@christopherthielen

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' }
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions