neo4j-labs/neo4rs

Unable to deserialise tuple struct

s1ck opened this issue · 0 comments

s1ck commented

I am trying to do sth like:

#[derive(Deserialize, Debug)]
pub struct MyString(String);

#[derive(Deserialize, Debug)]
pub struct MyThing {
  my_string: MyString,
}

and I get:

Error: InvalidType { received: Str("foobar"), expected: "tuple struct MyString" }