Shishir Kakaraddi
Shishir Kakaraddi
Hi @mayankkumarji, Could you explain what are ` &:user_topic_label_order` and `&:user_profile` params being passed for? I have a feeling those are causing issues.
@mayankkumarji this is going to be difficult to debug without looking at the proc definitions and more details. Also you never changed the version of fast_jsonapi? Was it always 1.5?
I was able to reproduce the issue. I am looking into it. It might have been a change in behavior from active record. Why are you passing the proc? It...
For this version we only support serializing homogeneous arrays. We have optimized for that case as that is a common use case where we needed performance gains. We might have...
@jshow polymorphic types are already supported in dev branch https://github.com/Netflix/fast_jsonapi/tree/dev#customizable-options
@allanberry We have added better support for inheritence in fast_jsonapi v1.2 Please try using it and see if it works for your STI usecase
@vovimayhem this feels like a more intuitive representation of polymorphic relationships in the serializer. Do you mind updating your implementation to use this representation?
@vovimayhem I would have chosen just `type` instead of `record_type` but I am generally scared of using `type` as it can be a reserve word and cause some confusion.
@vovimayhem I think when we release polymorphic models support it should really use `record_type` and not the `polymorphic` as the option. Are you planning to work on this change? If...
@vovimayhem can you share the performance numbers you see. Especially for the tests that are failing?