-
Notifications
You must be signed in to change notification settings - Fork 324
Open
Labels
for: team-attentionAn issue we need to discuss as a team to make progressAn issue we need to discuss as a team to make progressstatus: waiting-for-triageAn issue we've not yet triagedAn issue we've not yet triaged
Description
A quick question, why doesn't SchemaMappingInspector doesn't validate if for eg:
Type Query {
helloWord: String
}
and implementation returns an Int
@Controller
class TestGraphqlController {
@QueryMapping
fun helloWord: Int {
return 123
}
}
In this case, there is a type mismatch. Although this fails at runtime, earlier detection is better. Is it intentional that users can implement their own Coercing? or any other reason! Thank you.
lopatkin-holidu
Metadata
Metadata
Assignees
Labels
for: team-attentionAn issue we need to discuss as a team to make progressAn issue we need to discuss as a team to make progressstatus: waiting-for-triageAn issue we've not yet triagedAn issue we've not yet triaged