Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

BindAttribute to provide a property filter predicate #785

Closed
pranavkm opened this issue Jul 11, 2014 · 3 comments
Closed

BindAttribute to provide a property filter predicate #785

pranavkm opened this issue Jul 11, 2014 · 3 comments

Comments

@pranavkm
Copy link
Contributor

Ties in to #415 - Mvc5 had overloads - http://msdn.microsoft.com/en-us/library/dd492957(v=vs.118).aspx - which allowed binding or ignoring specific properties. HttpBindAttribute does this, but we need a non-declarative way for doing this to support these overloads.

@danroth27 danroth27 added this to the 6.0.0-beta1 milestone Oct 15, 2014
@danroth27
Copy link
Member

This gives us consistency with the [Bind] work. We should see if we can get this in after the [Bind] work is done.

@danroth27 danroth27 changed the title ModelBinding needs a way to allow or prevent binding properties TryUpdateModel needs a way to allow or prevent binding properties Oct 20, 2014
@danroth27 danroth27 modified the milestones: 6.0.0-beta2, 6.0.0-beta1 Oct 22, 2014
@harshgMSFT
Copy link
Contributor

TryUpdate model is updated with the predicate based include and no excludes. The work remaining here is to do the same for Bind Attribute in #1546

@harshgMSFT harshgMSFT changed the title TryUpdateModel needs a way to allow or prevent binding properties Bind Attribute to provide a property filter predicate Nov 27, 2014
@rynowak
Copy link
Member

rynowak commented Dec 6, 2014

d7094fd

@rynowak rynowak closed this as completed Dec 6, 2014
@rynowak rynowak assigned rynowak and unassigned harshgMSFT Dec 6, 2014
@danroth27 danroth27 changed the title Bind Attribute to provide a property filter predicate BindAttribute to provide a property filter predicate Jan 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants