Skip to content

Add dot-notated field support #77

@zarathustra323

Description

@zarathustra323

Allow for get() related methods on the Store to support dot-notated field keys. For example, on an event model with a review relationship, allow for get('review.name') to return the name value from related review model.

A hasMany relationship would be similar, but would return an array of values. For example, on an event model with a tags hasMany relationship, get('tags.name') would return ['name 1','name 2']

This should be recursive: get('review.person.name') would return the name of the person from the review off the event

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