-
Notifications
You must be signed in to change notification settings - Fork 2
copy metadata from automapped properties #8
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
Open
h0lg
wants to merge
88
commits into
DerAlbertCom:master
Choose a base branch
from
h0lg:feature/copyMetadataFromAutomappedProperties
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
copy metadata from automapped properties #8
h0lg
wants to merge
88
commits into
DerAlbertCom:master
from
h0lg:feature/copyMetadataFromAutomappedProperties
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…etadata to match class name
…venting the test runner from crashing if the reference is not found
Owner
|
Sorry, vor der dotnet Cologne komme ich nicht dazu mir hier drum zu kümmern. Echt keine Zeit. Sorry. |
Contributor
Author
|
macht nix, hab ich mir schon gedacht. Und es eilt nicht - das feature ist ja ohnehin erst vollständig, wenn die Unterstützung seitens AutoMapper funktioniert. Dann bereite dich mal gut auf deine Vorträge vor. |
Owner
|
Nicht Vorträge, die Organisation der Veranstaltung. |
…s validated object because System.Web.Mvc.DefaultModelBinder passes null as the moethod's container parameter
…IProperty<T, TResult> & added GetterFunctions to Metadata
…n Metadata reading from Rules
…or FluentMetaDataConvention ensuring it AppliesNotNullToRequiredProperties
…equiredProperties
…ingLengthToProperties
…eptionForNotFoundProperties
…adate by changing it from a string to a func
… via Class.AssertThat(instance => instance.IsValid(), "{0} is not valid")
…tax via Property(x=>x.MyProperty).AssertThat(myprop => ValidateSomeHow(myprop), "sth about {0} is invalid")
….ComparableProperty(x=>x.Property1).ShouldBeLessThan(x=>x.Property2)
…ovide information yet; skipping test for now
…t needed after all
…for which AutoMapper does not provide information yet; skipping test for now
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hey Albert,
diesed feature nutzt die mapping information, die AutoMapper zur Verfügung stellt, um metadata von einem mapped type zu einem anderen zu kopieren, ganz ähnlich der schon existierenden ClassMetadata.CopyMetadataFrom(sourceType) Funktion. Habe schon einen Issue für AutoMapper erstellt, um bald auch das AutoMapper Projection feature zu unterstützen (aktuell sind diese Infos nicht erreichbar).
Gruß, Holger