Closed w3sami closed 5 years ago
Hello @all I did some refactoring and repository restructuring. From now on new repository is located here https://github.com/troyanskiy/ngx-resource Please create new issues in new repo. I will close all the issues in that repo.
Also I have released 7.0.0-beta.5 version with Observables
support. Please test it and create new issues in new repo if you will find some bugs.
To update to new version run
npm i --save @ngx-resource/core@beta @ngx-resource/handler-ngx-http@beta
ResourceGlobalConfig
asPromise
and asResourceResponse
returnAs
with enum type ResourceActionReturnType
; Default is ResourceActionReturnType.Observable
IResourceParams
and IResourceAction
asPromise
and asResourceResponse
returnAs
with enum type ResourceActionReturnType
; Default is ResourceActionReturnType.Observable
IResourceMethod
-> IResourceMethodPromise
IResourceMethodStrict
-> IResourceMethodPromiseStrict
IResourceMethodFull
-> IResourceMethodPromiseFull
IResourceMethodStrictFull
-> IResourceMethodPromiseStrictFull
ResourceCRUD
-> ResourceCRUDPromise
ResourceCRUDObservable
- same as ResourceCRUDPromise, but typed to ObservableI still have to update Docs and provide migration guide.
Thank you @all !!!
hi,
trying to migrate from old version of your code, but just can't seem to get all the deps right. A working plunker etc would be of great help, or at least a repo, with all the wiring present.
Thanks for the great lib, been using the old one for over a year now!