Open vindard opened 4 weeks ago
I don't think there is a missing setting, and I don't think there is any specific #[serde]
annotation we put on these input values, so it looks like either the serde_json::Value you send is a Value::String with the already-serialized JSON in it, or there is a bug. I am not able to spend time on this project at this time though.
Description
I have a schema where some of the input types are
JSON
which expects json blobs. I've mapped this in the file where I'm deriving things usingtype JSON = serde_json::Value;
.In the actual code, the
Variables
type that got generated looks like thisBut if I print the
metadata
field from aVariables
instance I get a stringified version of the json value which errors when sent to the api.Is there a setting I'm missing that can override this conversion?