Open marcelbuesing opened 2 years ago
@marcelbuesing You can probably follow my example here -> https://github.com/media-io/yaserde/issues/87 to create your own serializer/deserializer that implements your type.
@marcelbuesing Can you check with newest version of YaSerDe ? If I am right, it's addressed.
Having elements in an XML where the naming collides with std type names lead to errors. In the example below I have a custom String type. This seems like a contrived example and I would actually just go with just renaming the type, but I ran into this issue with an existing XSD and xml-schema and then noticed the issue is actually one layer deeper.
I think the actual issue is in
Field.rs
the following lineProblem being that basically it's not checked if this is actually a
std::string::String
or from a different module.deseriaizer.rs