We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When doing
let user = make('user'); mockQueryRecord('user', { me: true}).returns({model: user});
It throws an exception in my adapter's urlForQueryRecord(query), with query being undefined.
urlForQueryRecord(query)
query
undefined
I think it's because urlForQueryrecord is called during: https://github.com/danielspaniel/ember-data-factory-guy/blob/master/addon/mocks/mock-get-request.js#L14 but the queryParams attr is not yet initialized.
urlForQueryrecord
The text was updated successfully, but these errors were encountered:
let me write a test for that and see if i can fix it.
Sorry, something went wrong.
this is fixed in https://github.com/danielspaniel/ember-data-factory-guy/releases/tag/v3.1.2 thanks for the issue .. was good one
No branches or pull requests
When doing
It throws an exception in my adapter's
urlForQueryRecord(query)
, withquery
beingundefined
.I think it's because
urlForQueryrecord
is called during: https://github.com/danielspaniel/ember-data-factory-guy/blob/master/addon/mocks/mock-get-request.js#L14 but the queryParams attr is not yet initialized.The text was updated successfully, but these errors were encountered: