code: public static GraphQLFieldDefinition field (String tableName) {
          return newFieldDefinition()
                  .name(tableName)
                  .type(new GraphQLList(GraphQLGtfsSchema.routeType))
                  .argument(stringArg("namespace"))
                  .argument(multiStringArg("route_id"))
                  .dataFetcher(new JDBCFetcher(tableName, null))
                  .build();
      }
docs: Still maybe we could make the most basic ones this way (automatically). Keeping this function as an example.