If a field is null then Enumerable throws Exception

Jul 15, 2010 at 3:14 PM

If a field on an item within an Enumerable has a null field then when you come to enumerating the Enumerable it throws and InvalidOperationException with no real explanation of what is wrong. For example if the object is { id: 1, name: "James", someField: null }

 

I was previously using the beta version and when I started to use the new version some of my application stopped working.  to get it to work I changed the null to false and it now works a treat.  Is this desired behaviour??

 

Thanks,

 

James