Closed jmartisk closed 3 months ago
When a typesafe client API extends from an interface like this:
public interface InventoryClient { List<Car> allCars(); } @GraphQLClientApi(configKey = "inventory") public interface GraphQLInventoryClient extends InventoryClient { @Query("cars") List<Car> allCars(); }
Then the client thinks the query is named allCars instead of cars. The @Query annotation is ignored.
allCars
cars
@Query
When a typesafe client API extends from an interface like this:
Then the client thinks the query is named
allCars
instead ofcars
. The@Query
annotation is ignored.