Skip to content

Conversation

@pixelhandler
Copy link
Owner

  • Relationship helpers may use a String argument for the relation name,
    as found in the relationship object of the JSON payload
  • Helpers may instead use an Object argument with properties for relation
    and type (type is different service) to use for fetching resource relations

[Fixes #36]

- Relationship helpers use a (string) name for the relation as found in the
  relationship objec of the payload
- Helpers also can use an (object) with properties for relation and type
  where type is different service to use for fetching resource relations
pixelhandler added a commit that referenced this pull request Aug 24, 2015
Add options argument for findOne/findMany Resource helpers
@pixelhandler pixelhandler merged commit 7c656ce into master Aug 24, 2015
@pixelhandler pixelhandler deleted the optional-type-for-relation branch August 24, 2015 06:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants