Does anyone know if the [Text(Ignore = true)] attribute is available in the new 8.x .Net Client yet? Or is there a new/different way of doing this?
Thanks,
Bob
Hi, @bobwiller,
Per the release notes, we no longer support attribute mappings in v8.0. Mappings can be defined using the fluent syntax when configuring the client. However, in this case, I assume you want to avoid the property being indexed at all. In this case, you should be able to apply the [System.Text.Json.Serialization.JsonIgnore]
attribute to the property so that it won't be serialized.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.