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
Right now useClass defaults to true, but it set at the resource/global level.
useClass
true
Adding the useClass option to these methods gives greater control, for example:
DS.find
useClass: true
useClass: true, cacheResponse: false
useClass: false
useClass: false, cacheResponse: false
The text was updated successfully, but these errors were encountered:
0980600
Backport js-data/js-data-angular#145.
af1faf8
Backport js-data/js-data-angular#156. Backport js-data/js-data-angular#167.
jmdobry
No branches or pull requests
Right now
useClass
defaults totrue
, but it set at the resource/global level.Adding the
useClass
option to these methods gives greater control, for example:DS.find
-useClass: true
- create instance from attrs, inject into store and return instanceDS.find
-useClass: true, cacheResponse: false
- create instance from attrs and return instance, do not inject into storeDS.find
-useClass: false
- inject raw attrs into store and return raw attrsDS.find
-useClass: false, cacheResponse: false
- return raw attrs, do not inject into storeThe text was updated successfully, but these errors were encountered: