using grape for apis and
What I see that I have to give always provide serializer name like
CompanySerializer.new(Company.all).serializable_hash
wondering if it can auto pick serialzier name depending upon resource name or object type like it used to do with active mode serializer.
and what about using Serializer in in relation like with has_many
using grape for apis and
What I see that I have to give always provide serializer name like
CompanySerializer.new(Company.all).serializable_hashwondering if it can auto pick serialzier name depending upon resource name or object type like it used to do with active mode serializer.
and what about using Serializer in in relation like with has_many