angular2-jsonapi
angular2-jsonapi copied to clipboard
A lightweight Angular 2 adapter for JSON API
Hello! From the documentation, it appears the relationship-loading strategy is to use `include` to return relationships with the primary payload. This certainly works, but can be a bit heavy. Any...
``` Warning: Can't resolve all parameters for Activities in src/app/core/models/activities.model.ts: ([object Object], ?). This will become an error in Angular v6.x ``` I'm using Angular CLI 1.6.6 and Angular 5.2.2....
I have the following situation: I have an ordered list of items and when I change the order on client side, the server expects the information, which element was moved,...
How to get the **ID** of a relation which is not included? As far as i can see it's not possible but should be possible
I was going for a not yet merged feature branch today by using git url + branch annotation in `package.json` This failed silent due to the line `src` in `.npmignore`...
When using [api platform](https://api-platform.com/) in combination with json-api, all id's are returned as [IRI](https://en.wikipedia.org/wiki/Internationalized_Resource_Identifier) (Internationalized Resource Identifier). This means that ID's look like "/type/{id}" (example: /forms/1) Trying to delete a...
In my response I getting thing like: ```json { "data": { "type": "users", "attributes": { "is-enabled": true, "username": "[email protected]", ... } } ``` However, this line overwrites the object, with...
This is a followup to the previous discussions at #26, GH-64 and #155. This adds a `findOne` method as an alternative to the `findRecord`-method. The new method returns a JsonApiQueryResponse...
Hi @RooTooZ, Edit: I added a merge request down below because I could not find how to achieve what I need overnight. I'm refering to GH-64. This pull request adds...
Hi! The issue is a bit complicated to explain without an example so I'll go straight into it. Let's say I have two models: **law.model.ts** ```ts @JsonApiModelConfig({ type: 'laws' })...