All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Updated
JobSerializer#serialize?to check forLinkedinUrlValue::Baseinstead ofklass. This fixesActiveJob::SerializationError: Unsupported argument type: LinkedinUrlValue::AsBlankerrors in Rails 8.1 by ensuring all LinkedinUrlValue types (Regular, Exceptional, AsBlank) can be serialized.
- Updated
JobSerializer#klassto returnLinkedinUrlValue::Regularinstead ofLinkedinUrlValue::Base. Rails job serialization uses an index hash whereBase(an abstract class) will never match, so the serializer now returns the concreteRegularclass.
- Added
klassmethod toJobSerializerfor Rails 8.1 compatibility. Rails 8.1 changed howActiveJob::Serializers::ObjectSerializerworks, requiring subclasses to implement aklassmethod that returns the class being serialized.