Skip to content

Conversation

adammflax
Copy link

count on empty response element returns 0 instead of null now

@penderi
Copy link

penderi commented Aug 31, 2012

Right feel free not to answer this but..

Been debugging this from home and crikey. It seems to vary when it sends Resource titles or URIs through to the provider to make a path / get child items... do you know why?

Date: Fri, 31 Aug 2012 08:54:49 -0700
From: [email protected]
To: [email protected]
Subject: [dynamicrest] Fixed bug when you count a empty response element (#2)

count on response element returns 0 instead of null

You can merge this Pull Request by running:
git pull https://github.com/adammflax/dynamicrest master
Or view, comment on, or merge it at:
https://github.com/Huddle/dynamicrest/pull/2

Commit Summary

support for .Count on XmlString to avoid having to do brutal castings

File Changes

M .gitignore (1)
M DynamicRest.UnitTests/Xml/XmlResponsesTests.cs (249)
M DynamicRest/Fluent/RestClientBuilder.cs (194)
M DynamicRest/Xml/XmlNode.cs (67)
M DynamicRest/Xml/XmlString.cs (35)

Patch Links

https://github.com/Huddle/dynamicrest/pull/2.patch
https://github.com/Huddle/dynamicrest/pull/2.diff

          —

          Reply to this email directly or view it on GitHub.

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.

3 participants