Skip to content

Spree/Solidus API V2 0.2.2

Compare
Choose a tag to compare
@BenMorganIO BenMorganIO released this 30 Oct 22:04
· 85 commits to master since this release

0.2.2

  • The parent serializer for Spree::BaseSerializer is now configurable.
    In some instances, you may have an ApplicationSerializer.
    To make the Spree::BaseSerializer use an ApplicationSerializer instead
    of the ActiveModel::Serializer:
# config/initializers/spree_api_v2.rb; or
# config/initializers/solidus_api_v2.rb
SpreeApiV2.setup do |config|
  config.parent_serializer = ApplicationSerializer
end

Ben A. Morgan