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
Required Parameters #2608
Labels
Comments
This indeed looks like a great fit for our Option classes. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
I originally tried making required parameters passed as arguments to the services, and any "optional" be passed in the XOptions classes. This broke down pretty fast, because services having a dozen arguments would be gnarly.
Describe the solution you'd like
Required Parameters to the rescue! The properties on the entity can now specify if they are "required" with regards to the service, or optional
https://blog.ndepend.com/c-11-required-members/
Describe alternatives you've considered
No response
Additional context
I think this would be a really cool feature to help developers know (without looking at documentation) which entity properties are required, and which ones are not.
The text was updated successfully, but these errors were encountered: