angular2-jsonapi icon indicating copy to clipboard operation
angular2-jsonapi copied to clipboard

A lightweight Angular 2 adapter for JSON API

Results 96 angular2-jsonapi issues
Sort by recently updated
recently updated
newest added

Hey, Angular 8 targets `es2015` and doesn't have `emitDecoratorMetadata` enabled. Which seems to make this library fundamentally incompatible with the newest version. (see also: https://github.com/angular/angular-cli/issues/15077) I may totally misunderstand all...

Hello, Thanks for this amazing library. I've been using it for the past few days and encountered an issue with regards to relationship. I'm currently using version **7.1.2** with Angular...

Hi Team, I am getting below error **parseHasMany - Model type for relationship activities not found** Please go through below codes **ParentActivity.ts** import { JsonApiModel, JsonApiModelConfig, Attribute, HasMany } from...

``` JsonApiModel.prototype.save = function (params, headers, customUrl) { this.checkChanges(); var attributesMetadata = this[AttributeMetadataIndex]; return this.internalDatastore.saveRecord(attributesMetadata, this, params, headers, customUrl); }; ``` Good practice checkout arguments in function implementation, like a...

In current implementation data models highly coupled with data storage. I think it will be better if we will use POJO augmented with decorators for data models. I.e. all methods...

to discuss
breaking

I'd like to update a To-One Relationship on a record, but can't figure out how to do it. I want to do what's described here in the [JSON Api Spec](https://jsonapi.org/format/#crud-updating-to-one-relationships)....

Hi! I found interesting library https://github.com/mike-north/jsonapi-typescript maybe its need to add into current lib for replace any typings ? for example ``` const body: ResourceObject = { data: { relationships,...

Hello. I think it would be very convenient to add the ability to subscribe to changes in the current state of the store. For example, there is a method peekAll,...