Skip to content

hasLoaded gives confusing error message #153

@ryanto

Description

@ryanto
user.hasLoaded('thisRelationshipDoesntExist')
// => "Assertion Failed: You tried to load the relationship thisRelationshipDoesntExist for a user, but that relationship does not exist [ember-data-storefront]"

The error message should reflect that the invalid relationship was accessed over hasLoaded, and not "tried to load".

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions