Skip to content

Add dot-notated field support #77

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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