Currently there are a bunch of queries featuring gate_version { featureName }. This is because the schema-autogenerated TS code for some reason doesn't support a type like Int | Object. Either we should find a way to make that work, or optimize the case of queries fetching only the PK of a FK, since that doesn't actually need a join internally.