Vladimir Kochnev

Results 54 comments of Vladimir Kochnev

I also rewrote the cache to use the hash table instead of array. And also there's no need to store relationship instances — storing just ids is enough.

@epaulet please open a PR with a failing test or post an example here at least.

I tried to solve it differently in #151, please look at it.

@whatasunnyday https://github.com/ruby-grape/grape#describing-methods

@whatasunnyday `:documentation` is just an arbitrary hash that you can associate with entity fields (exposures). This is why you couldn't find anything related in the code of grape-entity. grape-entity is...

It will be possible to achieve this when #56 will be fixed. I made an attempt here: #151. When #56 will be fixed, try this example (you can already try...

Also it looks like you're trying to implement [JSON API](http://jsonapi.org) compliant entities. I think it deserves its own implementation. Something like `Grape::Entity::JsonApi`.

@benyu Could you provide more verbose error output at least? Ideally I want a whole application that fails. It would be probably challenging to write a failing spec for this...

I thought about implementing a cache layer. It would be easy to come up with a proper DSL for this but there are some design problems: - how to plug...