Serializer inference on relationships can be improved.
For instance belongs_to :owner, record_type: :user uses OwnerSerializer.
In my opinion, it would make more sens to use UserSerializer.
I have a patch here: ThomasSevestre/fast_jsonapi@46b5fde
It is a breaking change, I'll make a PR if you are interested.
Serializer inference on relationships can be improved.
For instance
belongs_to :owner, record_type: :userusesOwnerSerializer.In my opinion, it would make more sens to use
UserSerializer.I have a patch here: ThomasSevestre/fast_jsonapi@46b5fde
It is a breaking change, I'll make a PR if you are interested.