Skip to content

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.

3 participants