How to make sure constructors aren't used in separate project #777
Unanswered
schMarXman
asked this question in
Q&A
Replies: 1 comment 4 replies
-
|
Hi @schMarXman - are you saying that your |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am currently designing domain models for a new project. The resulting models library will also be used in another existing project. How do I make sure that the model constructors aren't used (or throw) in the consuming project? If I replicate the basic ID example from the wiki, build the library, then reference the library in the other project the default constructors pass without errors e.g. new ID(). Thanks!
Beta Was this translation helpful? Give feedback.
All reactions