Skip to content
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

Added support for newtype structs #35

Closed
wants to merge 2 commits into from

Conversation

Michael-F-Bryan
Copy link
Contributor

This adds support for serializing newtype structs.

@oli-obk
Copy link
Collaborator

oli-obk commented Aug 22, 2017

This looks good to me. Can you add a few more tests with interesting newtype elements?

  • Option
  • another newtype
  • Vec
  • BTreeMap

Newtypes in xml have always been somewhat troublesome when combined with other types.

@Michael-F-Bryan
Copy link
Contributor Author

Michael-F-Bryan commented Aug 22, 2017

I don't think I can do a test for Vec and BTreeMap yet because sequences and maps aren't yet supported (I've made a PR for the sequences bit - #36). I'll try to add tests for other things though.

@Michael-F-Bryan
Copy link
Contributor Author

I thing I'm going to merge this into #36 because they're essentially two heads of the same coin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants