Proper argument type for scalar JSON graphql
What is proper input argument type for scalar JSON @Argument?
As the result I have all arguments in my map when I need only my:
https://i.stack.imgur.com/NN8S1.pngā¾
My schema.graphqls
scalar JSON
type Product {
id: ID
description: JSON!
name: JSON!
price: String
}
type Mutation {
addProduct(description: JSON!, name: JSON!, price: String!): Product
}
I have controller with mutation:
@MutationMapping
fun addProduct(
@Argument name:...