codegen: breaking change for `ID!` types
Closed this issue · 0 comments
ajwerner commented
#476 is a welcome enough change, but breaks code which use ID! types in their schemas. The function used for deserialization returns an Option<String> even if the field is String:
|
2140 | #[derive(Deserialize, Serialize, Debug)]
| ^^^^^^^^^^^ expected `String`, found `Option<String>`
cc @willfindlay / @tomhoule.