Where I wanted to override the Serializer in the case where related_objects is a list of ActiveRecord STI objects but I wanted to use a single serializer for all of them.
Was it intentional that related objects use top level options (@options) and ignore inline options when using find_serializer?
Please let me know if this makes sense and anything else I would need to do.
I mostly did this to support
Where I wanted to override the Serializer in the case where
related_objects
is a list of ActiveRecord STI objects but I wanted to use a single serializer for all of them.Was it intentional that related objects use top level options (@options) and ignore inline options when using
find_serializer
?