Skip to content

Error on model/base does not to work with ember-data #22

Open
@onumossn

Description

@onumossn

Since ember-data seems to expect source/pointer to be "data/attributes/base" for errors on the model which aren't specific to a model attribute (https://github.com/emberjs/data/blob/v3.5.0/addon/-private/adapters/errors.js#L446) and https://github.com/jsonapi-suite/jsonapi_errorable/pull/13/files#diff-464e7d878a98e6a985d3f83118db6c98R97 started setting source/pointer to nil. The error on returned from the api can no longer be found on the ember-data model. Why was this change made? Can it be undone or made an option?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions