Skip to content

v0.0.22

Compare
Choose a tag to compare
@petejohanson petejohanson released this 05 Jan 05:22
· 43 commits to master since this release

The following additional functionality has been added:

  • Add access to raw response using Resource#$response. See Resource for details and petejohanson/angular-hy-res#8 for the discussion.
  • Add property for accessing media format specific information, e.g. Siren resource titles, using Resource#$formatSpecific property. See #4
  • Add filtering/matching for the various Resource accessor functions like $link, $links, $followOne, etc. For example, to check if you have a link in a HAL resource with a link relation of next and a name of profile, you can call resource.$has('next', { name: 'profile' }). See #8