Using the polymorphic serializer for relationships works, but using it for top level resources does not. Instead it uses the first serializer in the array to serialize all resources.
Expected behavior*
Each resource should be serialized with the correct serializer.
Describe the bug*
Using the polymorphic serializer for relationships works, but using it for top level resources does not. Instead it uses the first serializer in the array to serialize all resources.
Expected behavior*
Each resource should be serialized with the correct serializer.