Dušan Salay
06/06/2024, 6:35 AM{
"Data": {
"CreateIssuedInvoice": {
"ID": "62d0e9c6-1c54-4324-8ac5-716701b325be",
"Stav": 0,
"CisloDokladu": "240010989"
}
},
"Status": 1,
"Message": "",
"StackTrace": ""
}
but default deserialisation of GraphQLWebClient
is unable to parse it.
I assume that’s is because of first uppercase letter? Is here any possible workaround how to fix that?Dušan Salay
06/06/2024, 6:51 AM@get:JsonProperty
on all response fields helped.
like: @get:JsonProperty("CreateIssuedInvoice")
Do you think that it will be possible to add that also for generated responses? As you did it here for requests.Dušan Salay
06/06/2024, 6:52 AM.configure(MapperFeature.ACCEPT_CASE_INSENSITIVE_PROPERTIES, true)
for Jackson object mapper to pass Data
attribute with first uppercase.Dariusz Kuc
06/06/2024, 3:01 PMData
response is invalid per GraphQL spec and it should be data
but I think annotating the response fields should be fineDariusz Kuc
06/06/2024, 3:01 PMDušan Salay
06/07/2024, 7:38 AMDušan Salay
06/07/2024, 8:51 AMDariusz Kuc
06/07/2024, 3:59 PMDariusz Kuc
06/07/2024, 4:00 PMDariusz Kuc
06/07/2024, 4:00 PMDariusz Kuc
06/07/2024, 4:01 PMDušan Salay
06/10/2024, 3:23 AMFirstuppercase
, ALLUPPERCASE
or FirstUpAndThenCamelCase
Dušan Salay
06/11/2024, 12:53 AMDariusz Kuc
06/11/2024, 4:36 AMDariusz Kuc
06/11/2024, 4:37 AM