Hi 👋
Thanks for this library!
It seems that QueryParser uses an underscore function when parsing both query parameters fields and include that just underscores by regex replacing without following or honoring the field_transformation: ... config value.
So this means that if e.g. field_transformation: :camelized is set, an inserted_at would be serialized to insertedAt on a response. However, inserted-at would be allowed and transformed to inserted_at when provided in the request fields query parameter, right? Is that intended?
Hi 👋
Thanks for this library!
It seems that
QueryParseruses anunderscorefunction when parsing both query parametersfieldsandincludethat just underscores by regex replacing without following or honoring thefield_transformation: ...config value.So this means that if e.g.
field_transformation: :camelizedis set, aninserted_atwould be serialized toinsertedAton a response. However,inserted-atwould be allowed and transformed toinserted_atwhen provided in the requestfieldsquery parameter, right? Is that intended?