Skip to content
This repository has been archived by the owner on Jan 24, 2021. It is now read-only.

Grouped validation rules per property #1314

Merged

Conversation

thecodejunkie
Copy link
Member

No modifications to the actual ModelValidationRule type yet, just the way they are handled by the ModelValidationDescriptor. The rules are now grouped per-property name instead of just being a list. The type of the model has also been added

@thecodejunkie thecodejunkie mentioned this pull request Nov 7, 2013
7 tasks
@@ -35,6 +36,11 @@ public ModelValidationDescriptor Description
}

/// <summary>
/// The type of the model that is being validated by the validator.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pff.. call yourself the human stylecop with xml comments like that? ;)

grumpydev added a commit that referenced this pull request Nov 7, 2013
…-improvements

Grouped validation rules per property
@grumpydev grumpydev merged commit 65f4f0a into NancyFx:master Nov 7, 2013
@thecodejunkie thecodejunkie deleted the modelvalidationdescriptor-improvements branch February 17, 2016 07:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants