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