Using Postgraphile, let's say I am querying all Foos, ie. allFoosList. Let's also say my Foo table has a many-to-many relationship with a Bar table in my database (ie. my Foos have Bars).
In my results I will get back an array of Foo objects. Those objects will have a property that is an array of Bars. However, that field won't be bars or barsByBarIdList ... it will have a name like barFoosByFooIdList. The objects inside that array will have a barByBarId property, which will have the actual record values.
Is there a way for me to correct/simplify this?