app/models/spree/api_dependencies.rb in spree_api-4.2.0.rc1 vs app/models/spree/api_dependencies.rb in spree_api-4.2.0.rc2
- old
+ new
@@ -12,11 +12,11 @@
:storefront_credit_card_finder, :storefront_shipment_serializer, :storefront_payment_method_serializer, :storefront_country_finder,
:storefront_country_serializer, :storefront_current_order_finder, :storefront_completed_order_finder, :storefront_order_sorter,
:storefront_collection_paginator, :storefront_user_serializer, :storefront_products_sorter, :storefront_products_finder,
:storefront_product_serializer, :storefront_taxon_serializer, :storefront_taxon_finder, :storefront_find_by_variant_finder,
:storefront_cart_update_service, :storefront_cart_estimate_shipping_rates_service, :storefront_estimated_shipment_serializer,
- :storefront_store_serializer, :storefront_address_serializer,
+ :storefront_store_serializer, :storefront_address_serializer, :storefront_order_serializer,
:storefront_account_create_address_service, :storefront_account_update_address_service, :storefront_address_finder
].freeze
attr_accessor *INJECTION_POINTS
@@ -64,9 +64,10 @@
@storefront_taxon_serializer = 'Spree::V2::Storefront::TaxonSerializer'
@storefront_payment_method_serializer = 'Spree::V2::Storefront::PaymentMethodSerializer'
@storefront_product_serializer = 'Spree::V2::Storefront::ProductSerializer'
@storefront_estimated_shipment_serializer = 'Spree::V2::Storefront::EstimatedShippingRateSerializer'
@storefront_store_serializer = 'Spree::V2::Storefront::StoreSerializer'
+ @storefront_order_serializer = 'Spree::V2::Storefront::CartSerializer'
# sorters
@storefront_order_sorter = Spree::Dependencies.order_sorter
@storefront_products_sorter = Spree::Dependencies.products_sorter