fix for 700: changed ObjectSerializer to remove $id and $ref unless there is a circular ref#920
Conversation
…ere is a circular ref
There was a problem hiding this comment.
Would be nice to change this test and ShouldSerializeDelegates to verify the result similar to what you did in ShouldSerialize. All it does now is verify that there is no exception, not that the result is correct ;-)
|
Overall LGTM, but I think we should improve the two tests I mentioned if we are in this code. |
|
Very good point. I'll add that shortly.
|
|
@glennblock the serialization of The serialization of the |
|
Ugh... there's also a problem with asserting the I think we'll have to leave these tests as they are, but I've refactored them to 3A's, instead of using the |
|
Ultimately, we're not trying to assert the serialization of all object types in this test class, but there are specific cases for which we originally had errors, i.e. the methods of |
|
OK, sounds good. |
fix for 700: changed ObjectSerializer to remove $id and $ref unless there is a circular ref
fixes #700