- Notifications
You must be signed in to change notification settings - Fork 328
Closed
Description
Sometimes it is easy to make a mistake with argument names in @QueryMapping methods. This is not reported by schema introspection and error will bubble up on query execution.
Here is a sample schema:
type Query { getVehicle(id: ID): Vehicle }And this is example controller:
@Controller class VehicleController { @QueryMapping fun getVehicle(@Argument vehicleId: String) = null }@Argument allows to map the argument name internally, though it will be really nice to see such kind of mismatch reported by schema introspection report.
svilen-ivanov-kubit and NiHaJanitzaRubenGamarrarodriguez-tomtom
Metadata
Metadata
Assignees
Labels
type: enhancementA general enhancementA general enhancement