cantierecreativo / redux-bees

A nice, short and declarative way to interact with JSON APIs
592 stars 41 forks source link

Accessing top-level response object? #65

Closed benjy closed 5 years ago

benjy commented 5 years ago

Is it possible to access the top level response object per API call?

dlikhten commented 5 years ago

Heh, late response. No. But why would you need to?

getRequestInfo gives you lots of useful data:

The only thing not immediately available is includes, but those can easily be traversed via the getRelationship

benjy commented 5 years ago

I think my use case was accessing some information drupal sent back in the "links" key at the top level but I can't remember now, i've moved away from this library instead. Thanks.