Spree/Solidus API V2 0.2.2
0.2.2
- The parent serializer for
Spree::BaseSerializer
is now configurable.
In some instances, you may have anApplicationSerializer
.
To make theSpree::BaseSerializer
use anApplicationSerializer
instead
of theActiveModel::Serializer
:
# config/initializers/spree_api_v2.rb; or
# config/initializers/solidus_api_v2.rb
SpreeApiV2.setup do |config|
config.parent_serializer = ApplicationSerializer
end