ngx-jsonapi
ngx-jsonapi copied to clipboard
JSON API client library for Angular 5+ 👌 :: Production Ready 🚀
**Angular version**: 9.1.1 **ngx-jsonapi version**: 2.1.15 **Compilation result**: ` ERROR in node_modules/ngx-jsonapi/ngx-jsonapi.module.d.ts:6:44 - error NG6005: NgxJsonapiModule.forRoot returns a ModuleWithProviders type without a generic type argument. Please add a generic type...
package.json ``` { "private": true, "name": "angular-universal", "version": "0.0.0", "scripts": { "ng": "ng", "prestart": "npm run build:prod", "start": "node ./dist/app/server/main.js", "build": "ng build", "build:prod": "ng build -c production", "dev": "ng...
Hi there! Here is a simple snippet ``` this.someService.get(resource_id).pipe( catchError(() => of(1)) ).subscribe((response) => { console.log(response); }, ); ``` In case of server error (e.g. 404 Not Found) there will...
The implemented null check at https://github.com/reyesoft/ngx-jsonapi/blob/v2.1/src/service.ts#L35 does not work because `Core.me` is `undefined` instead of `null` when `JsonapiCore` wasn't injected before. That's why the implemented error will never be thrown.
I couldn't reopen issue #170. No need to explain here, please check that issue.
Hi You do not work on relationship metas https://jsonapi.org/format/#document-resource-object-relationships please see meta on this part I did it,please update your package: /** * @param {?=} params * @return {?} */...
Hi, After updating to version 2.1.13 I continually receive in console the following error for any .all() call. zone.js:391 Uncaught (in promise) Error: Collection is dead! at ContentsService. (ngx-jsonapi.es5.js:2995) [angular]...
My backend {json:api} [pagination implementation](https://django-rest-framework-json-api.readthedocs.io/en/stable/usage.html#pagination) returns a different (non-standard) `meta` pagination response for a collection. Instead of as in the demo: ```json "meta": { "page": 1, "resources_per_page": 10, "total_resources": 11...
ToDo on 2.2 version.
Problem, for example, on Debo Books (allways attach 📖 to book.attributes.title).