grape-entity icon indicating copy to clipboard operation
grape-entity copied to clipboard

hashes and delegation failing spec

Open marshall-lee opened this issue 10 years ago • 0 comments

Many specs fail with missing attribute ... exception.

But there are some reasons that it's right. No value for some key -> cannot expose such attribute. Otherwise nil value is indistinguishable from no-key case. It also makes unclear should we call formatter on this value or not if one is specified.

Fixing it will obviously be a breaking change since all these specs should be rewritten.

Upgrade path will be to use safe option.

marshall-lee avatar Sep 18 '15 14:09 marshall-lee