After updating to 3.2.0, I’m no longer able to access specific fields of an input using a UDG. I’ve added customer
as an input argument in my data model
input customer {
uuid: ID
first_name: String!
last_name: String!
postal_code: String!
}
and in the data source body I have the below
{
"first_name": "{{.arguments.customer.first_name}}",
"last_name": "{{.arguments.customer.last_name}}",
"postal_code": "{{.arguments.customer.postal_code}}",
"token": "{{.arguments.customer.uuid}}"
}
yet when I run the query and check the log browser, it evaluates to the below
{
"first_name": "{"uuid":"123","first_name":"john","last_name":"smith","postal_code":"12345"}",
"last_name": "{"uuid":"123","first_name":"john","last_name":"smith","postal_code":"12345"}",
"postal_code": "{"uuid":"123","first_name":"john","last_name":"smith","postal_code":"12345"}",
"token": "{"uuid":"123","first_name":"john","last_name":"smith","postal_code":"12345"}"
}