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

Remove class/interface validation when retrieving type from ElasticType #929

Merged
merged 1 commit into from
Sep 8, 2014

Conversation

gmarz
Copy link
Contributor

@gmarz gmarz commented Sep 7, 2014

Since #731, this was causing an ArgumentException to be thrown when
mapping generic objects with value type parameters (List,
Dictionary<long, string>, etc..). The check doesn't seem necessary since
ElasticTypeAttribute is already constained to classes at compile time.

Also cleaned up PropertyNameResolver a bit.

Closes #926

Since #731, this was causing an ArgumentException to be thrown when
mapping generic objects with value type parameters (List<int>,
Dictionary<long, string>, etc..).  The check doesn't seem necessary since
ElasticTypeAttribute is already constained to classes at compile time.

Also cleaned up PropertyNameResolver a bit.

Closes #926
Mpdreamz added a commit that referenced this pull request Sep 8, 2014
Remove class/interface validation when retrieving type from ElasticType
@Mpdreamz Mpdreamz merged commit 6d722ff into develop Sep 8, 2014
@Mpdreamz Mpdreamz deleted the fix/926 branch September 8, 2014 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants