Skip to content

Conversation

topas
Copy link
Contributor

@topas topas commented Sep 28, 2013

I think the only way how to manage code in this classes in inheritance. XmlDeserializer had some new features, but XmlAttributeDeserializer not. I think they shoud be same, but XmlAttributeDeserializer with using DeserializeAsAttribute.

I splited tests XmlTest.cs into XmlDeserializerTest.cs and XmlAttributeDeserializerTest.cs for sure.

My motivation was this commit c68de9d#diff-b4b64956e6de3b7255635b2b3f02bd76 which broke deserization in my project. And I found only 2 tests for XmlAttributeDeserializer!

@haacked
Copy link
Contributor

haacked commented Sep 29, 2013

Thanks for the PR!

haacked added a commit that referenced this pull request Sep 29, 2013
XmlDeserializer shoud be parent class of XmlAttributeDeserializer
@haacked haacked merged commit 159ab12 into restsharp:master Sep 29, 2013
@haacked
Copy link
Contributor

haacked commented Sep 29, 2013

thumbsup-emmawatson

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.

2 participants