You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Especially for checked Name it would be great if you could use it in a serde (de)serializable structure and get the name value checked during deserialization.
Const values could maybe be deserializable as well, see also #717 (for non-const values, we'd need a way to pass in variable values, so supporting serde would probably not be possible)
Other types?
The text was updated successfully, but these errors were encountered:
Ah yes. I think what I meant was actually unrelated to this issue. It was about deriving Deserialize for custom structs and using that with a custom deserializer to parse argument Values into Rust types, which would need to handle variables, but that's doesn't need to be a problem (eg. the api could be let s: MyStruct = apollo_rs::serde::from_arguments(&arguments, &variables))
Especially for checked
Name
it would be great if you could use it in a serde (de)serializable structure and get the name value checked during deserialization.Const values could maybe be deserializable as well, see also #717 (for non-const values, we'd need a way to pass in variable values, so supporting serde would probably not be possible)
Other types?
The text was updated successfully, but these errors were encountered: