-
Notifications
You must be signed in to change notification settings - Fork 863
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DynamoDb DocumentModel difficult to create stubs #604
Comments
This isn't on our roadmap right now, but I will add it to our feature requests backlog. |
Request added to backlog. Closing. |
I just stumbled on this very issue. Is there a way to vote up a feature request? |
This issue is fairly easily addressable by adding public constructors to the classes that are returned from the IDynamoDBContext methods. Either making the existing constructors public (only possible if their arguments are for public types) or adding another constructor (generally a parameterless one). |
I'm finding the code using the DynamoDb DocumentModel (Table, Search, etc) difficult to test. Private constructors, no interfaces, impossible to create stubs of them.
Is there any plan to refactor these to make them more unit tests friendly?
The text was updated successfully, but these errors were encountered: