-
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
Modifying NEST JsonSerializer settings does not seem to work #535
Comments
Try this:
|
👍 that did the trick! THX! |
🍻 |
Hey @Mpdreamz i'm trying to upgrade nest-1.0.0-beta1 to 1.0.2 but it seems my contractjsonconverters no longer work. Any clue? I made a minimal testcase which fails: https://gist.github.com/crunchie84/4df1bcdb3071a0b575b7 |
This was a bug isolated in the TermFilter converter that did a This should be fixed now! |
😎 |
Hello,
I am using NEST NuGet package v 0.12.0.0 to connect to my ElasticSearch. I want my Enum values to be send to ElasticSearch as their ToString() instead of their index/int value.
I have tried the following:
But it looks like it keeps sending the Enum values as ints.
I have also tried to modify the serialiserSettings after constructing the ConnectionSettings like so:
but both seem to be ignored. Am i missing something here? Could you please provide some more details how to modify the JsonSerializerSettings?
The text was updated successfully, but these errors were encountered: