AMS produces pluralized resource types by default for all serialized types, whereas fast_jsonapi does not. This makes migration from AMS to fast_jsonapi cumbersome, especially if you have a lot of types.
My original plan was to just write some code to perform the pluralization transform automatically, but it turns out that FastJsonapi::ObjectSerializer calls set_type rather aggressively, which results in my automatic pluralization changes being either ignored or clobbered.
What do you all think about just supporting pluralization of the type directly?
AMS produces pluralized resource types by default for all serialized types, whereas fast_jsonapi does not. This makes migration from AMS to fast_jsonapi cumbersome, especially if you have a lot of types.
My original plan was to just write some code to perform the pluralization transform automatically, but it turns out that
FastJsonapi::ObjectSerializercallsset_typerather aggressively, which results in my automatic pluralization changes being either ignored or clobbered.What do you all think about just supporting pluralization of the type directly?