Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 684 Bytes

UPGRADING.md

File metadata and controls

18 lines (10 loc) · 684 Bytes

Upgrading Grape Entity

Upgrading to >= 0.6.0

Changes in Grape::Entity#inspect

The Grape::Entity#inspect method will no longer serialize the entity presenter with its options and delegator, but the exposed entity itself, using #serializable_hash.

See #250 for more information.

Upgrading to >= 0.5.1

Changes in NestedExposures.delete_if

Grape::Entity::Exposure::NestingExposure::NestedExposures.delete_if always returns exposures, regardless of delete result (used to be nil in negative case).

See #203 for more information.