jhoek / UncommonSense.CBreeze

C#/PowerShell API for the Dynamics NAV C/AL object text format
MIT License
6 stars 4 forks source link

All input object parameters (incl. e.g. -Application) should be called -InputObject #46

Closed jhoek closed 7 years ago

jhoek commented 7 years ago

Basically all parameters that accept pipeline input

jhoek commented 7 years ago

However, if only one type of input is possible, it might be better not to change the name. So in the example of Add-CBreezeCodeunit, -Application is appropriately named.

jhoek commented 7 years ago

Conclusion: avoid dynamic parameter. Inputs are called InputObject and of type PSObject, unless only one type of input is possible; see above.