-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FR: Better ergonomics in structs? #159
Comments
Just to be clear I wanted to get some feedback to know if this is something I should try to implement. |
Sorry for the late reply. I agree from a usability perspective. Right now, the crate more closely follows the format of the XML file that is inside of every KeePass database, where there can be arbitrary key-value pairs called fields, and username, title and password are just special cases. Handling fields as a We provide the I'm not sure if you were referring to our feature-gated serde support when you were talking about custom serde code. I would be willing to accept a PR that has a custom |
Hi, thanks for the reply. The custom serde code is the implementation of deserialize that puts specific xml keys into a struct |
Here is what I expected an entry to look like. Imo it's better.
My expectation comes seeing it this way in a GUI. Another reason is that renaming a string key is not a good idea.
This would require adding custom serde code tho..
The text was updated successfully, but these errors were encountered: