Different behaviour between local and remote azure app (hotchocolate 12 and 13) #5189
-
Hi, Same issue when using the custom GUI instead of Postman. I noticed HotChocolate 13 was in preview and I thought it might have had some changes that affected me. It actually had and now I get that same behaviour for any type which is not a string: almost any type (you choose) It happens only against my remote host. Please note that I'm not doing anything I'd consider "advanced", like stitching or so. Given I'm not sure it's an issue from HotChocolate, I'm raising this as a discussion first. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
After digging deeper in the issue, I was able to narrow down to only a handful of types that allowed me to consistently reproduce the error in isolation and they are all the types that include a date or time, and any non integer type (so any number with decimal positions). |
Beta Was this translation helpful? Give feedback.
After digging deeper in the issue, I was able to narrow down to only a handful of types that allowed me to consistently reproduce the error in isolation and they are all the types that include a date or time, and any non integer type (so any number with decimal positions).
I guess the only difference between running my tests locally or against remote would have been the available culture/localization settings (commas vs. dots for decimals; dd/mm/yyyy vs yyyy/mm/dd vs mm/dd/yyyy etc.)
As an example trying to send a
DateTime
as28/06/2022
was successful locally and a failure against remote.Sending
2022/06/28
resulted as a success on both environments.I still can't fully explain (and I won…