solidusio-contrib / solidus_tracking

Data tracking extension for your Solidus store.
BSD 3-Clause "New" or "Revised" License
4 stars 10 forks source link

Fix serializer classes not being inherited #13

Closed aldesantis closed 3 years ago

aldesantis commented 3 years ago

Fixes an issue that was forcing us to specify payload_serializer and customer_properties_serializer every time we inherited from SolidusTracking::Event::Base or a child. Now, the serializer classes are looked up the ancestors chain if they are not defined directly on the current event class.