-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Dont sent TypeNameMarker as type, convert to type-strings #908
Conversation
@Tasteful great catch, thanks! Looks like this is failing one of the unit tests though: Also, small nit pick- can you change:
to
It's a pattern we've been following for convenience in all the descriptors so we don't have to continuously cast to the |
@gmarz I have now updated the code to follow the pattern and added some more unit tests. It was a easy NullPointerException for the failed unit test so that was easy fixed. |
@gmarz Maybe the parameter-name should be |
@Tasteful +1 on renaming the parameter to |
@gmarz Code updated. |
@Tasteful yes, I think the Also, I left a note on your last commit. I think the code you added to The reason for the static |
@Tasteful LGTM now, thanks again for this! |
Dont sent TypeNameMarker as type, convert to type-strings
TypeNameMarker
was converted asNEST.TypeNameMarger
in the querystring when fetching the_client.IndicesStats
. Convert theTypeNameMarker
as the correct type with the help ofElasticInferrer
.