Skip to content
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

Consider Allow validation attributes on pocos #1199

Open
MikeStall opened this issue Jun 22, 2017 · 15 comments

Comments

Projects
None yet
@MikeStall
Copy link
Contributor

commented Jun 22, 2017

This was a followup from #1169
We allow DataAnnotation attributes on binding attributes, consider allowing them on POCOs too. We JSON deserialize our pocos, so this may be a JSON.Net issue.

We now support these declarative validation attributes for binding authors. Might be interesting to support them for end users as well on their model types. E.g. I mark up my queue trigger poco, and our pipeline runs the validation and fails the invoke if the validations don't pass. It'd be a new validation stage in our pipeline.

@mathewc

This comment has been minimized.

@tokyo0709

This comment has been minimized.

@jansoren

This comment has been minimized.

Copy link

commented Nov 22, 2017

this feature would be great 👍

@joeyeng

This comment has been minimized.

Copy link

commented Mar 19, 2018

any update on this?

@ErAnwarAhmad

This comment has been minimized.

Copy link

commented May 4, 2018

Missing it badly..

@haiquan

This comment has been minimized.

Copy link

commented Jul 13, 2018

We really need this feature.

@jansoren

This comment has been minimized.

Copy link

commented Jul 13, 2018

Got a tip that Fluent Validation could work well with Azure Functions. Is there anyone who has experience with this?

@margaretaNikolov

This comment has been minimized.

Copy link

commented Aug 17, 2018

Any news on this topic?

@audipen

This comment has been minimized.

Copy link

commented Aug 22, 2018

Any news on whats the way ahead here?

@paulbatum

This comment has been minimized.

Copy link
Member

commented Aug 23, 2018

We agree that this would be a nice feature but we have no immediate plans to work on this. That's the latest status.

@CaioCavalcanti

This comment has been minimized.

Copy link

commented Sep 6, 2018

this would be a great feature... hope we don't need to wait so long to get it :)

@zeezment

This comment has been minimized.

Copy link

commented Oct 3, 2018

This would be a great feature to have 💯

@inghak

This comment has been minimized.

Copy link

commented Oct 24, 2018

When we use this technology for real, everybody need this kind of stuff. No more "hello world" please ;)

@joeyeng

This comment has been minimized.

Copy link

commented Oct 24, 2018

We're using fluent validation and I prefer that for anything but trivial validation. Function monkey even has built-in integration, but I haven't tried it yet.

@tomfaltesek

This comment has been minimized.

Copy link

commented Jun 27, 2019

Got a tip that Fluent Validation could work well with Azure Functions. Is there anyone who has experience with this?

Anyone who stumbles here in the future can check out the FluentValidation examples provided here: https://www.tomfaltesek.com/azure-functions-input-validation/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.