Skip to content

Conversation

@csantero
Copy link
Collaborator

This is a PR against your PR #25. I think this is a better set of constructors. It isolates all the changes against the current class into one constructor, and I think it makes it clearer what exactly is going on. It also gives tests a more flexible interface for mocking dependencies.

I'm leaving the 2-param constructor internal for now, but we can open it up later if we decide to let users customize error serialization.

@SphtKr
Copy link
Collaborator

SphtKr commented Jan 28, 2015

Right, I meant to put in my notes that these constructors were a mess but forgot. I did almost exactly this once but couldn't decide which way to go at the time. This works.

SphtKr added a commit that referenced this pull request Jan 28, 2015
@SphtKr SphtKr merged commit 07a1639 into JSONAPIdotNET:cache-propmaps-issue23 Jan 28, 2015
@csantero csantero deleted the rearrange-constructors branch January 28, 2015 18:42
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