Skip to content

Required Parameters #2608

Open
Open
@jaymedavis

Description

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.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions