Skip to content

store.getListData 3.0.0 bug #153

@swipie

Description

@swipie

We are using can-fixture to build our projects.
To return our data in the fixtures we use
fixture('GET /foo/bar', () => foobarStore.getList().data);.
The data is then directly returned.

When we use fixture('GET /foo/bar', foobarStore.getListData); we would have to do something like this.foobarList = data.data in our then function. So we prefer the first way...

This "trick" was working for us until version 3.0.0.

With 3.0.0 we get the error
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions