Support serde_json::Value
as juniper::object::Object
#504
Labels
enhancement
Improvement of existing features or bugfix
serde_json::Value
as juniper::object::Object
#504
Say when writing a custom error:
I will return to the frontend as:
So I write:
But of course, it won't compile, for:
serde_json::Value
andjuniper::object::Object
should be convertable;HashMap<String, String>
andjuniper::object::Object
should be convertable;JSON
(mapped to serde_json::Value) scalar is neededThe text was updated successfully, but these errors were encountered: