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

store.getListData 3.0.0 bug #153

Open
swipie opened this issue Aug 9, 2018 · 1 comment
Open

store.getListData 3.0.0 bug #153

swipie opened this issue Aug 9, 2018 · 1 comment

Comments

@swipie
Copy link

swipie commented Aug 9, 2018

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

@justinbmeyer
Copy link
Contributor

It seems stores still have the getList() method: https://github.com/canjs/can-fixture/blob/master/store.js#L151

Why isn't this working?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants