Open al opened 6 years ago
Just found today the same issue. I have a spec reproducing this behavior. Now I'm trying to do something to fix it 😄.
Also encountered this and it seems someone has already fixed this in their fork :point_up:.
Hi there, any news on that?
I think this should be considered a bug. At least it's not mentioned in the README.
Thanks for grape-entity! :)
expose_nil
delegates to the underlying object and doesn't test whether the method isdelegatable?
This can lead to odd behaviour and errors.You'd probably have to be doing inheritance with your Entities in order to encounter it in the wild, but as a contrived example:
Would you agree this is an issue?