Skip to content

Conversation

@russcam
Copy link
Contributor

@russcam russcam commented Nov 22, 2016

Following on from merge of #2399 into master.

Should we also assert that IReadOnlyCollection<T> and IReadOnlyDictionary<TKey, TValue> properties on responses are not null as a general rule?

@russcam
Copy link
Contributor Author

russcam commented Nov 22, 2016

opened PR for 5.x: #2407

Copy link
Contributor

@gmarz gmarz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Reflection unit test traverses IResponse properties to check their types.
Add Fluent Assertions for IReadOnlyDictionary<TKey, TValue>. See https://github.com/dennisdoomen/FluentAssertions/issues/357
Update Watcher APIs to use readonly collections
Use Actions for actions on Watch type
Enable readonly collection deserialization in SimpleJson
@russcam russcam force-pushed the fix/master-readonly-collections branch from 73a77a2 to 010ee2b Compare November 23, 2016 04:37
@russcam russcam merged commit 010ee2b into master Nov 23, 2016
@russcam russcam deleted the fix/master-readonly-collections branch November 23, 2016 04:37
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