Skip to content

When filling in a model it would be good to be able to explicitly opt out of some properties #121

@robdmoore

Description

@robdmoore

e.g.

Input.ModelExcludingSomeProperties(model, m => m.Prop1, m => m.ParentProp, m => m.OtherParentProp.SubPropOnlyThough);

or maybe

Input.Model(model, m => m.Prop1, m => m.ParentProp, m => m.OtherParentProp.SubPropOnlyThough);

Except that might be read as only fill in those properties (which might also be useful?).

or maybe

Input.Model(model, Excluding.Properties<MyViewModel>(m => m.Prop1, m => m.ParentProp, m => m.OtherParentProp.SubPropOnlyThough));

verbose, but reads better...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions