You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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 likethis.foobarList = data.data
in ourthen
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
The text was updated successfully, but these errors were encountered: