You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When deriving a document type, it should be possible to exclude fields from the PropertiesMapping implementation without ignoring them in serialisation:
#[derive(ElasticType)]structMyType{id:i32,title:String,#[elastic(ignore)]tags:BTreeMap<String,Value>,}// Manual serialisation where `tags` are flattened onto the parent object, instead of being nested
One usecase for this would be having fields that are serialised differently by some manual serde implementation, and shouldn't be included in the mapping.
The text was updated successfully, but these errors were encountered:
When deriving a document type, it should be possible to exclude fields from the
PropertiesMapping
implementation without ignoring them in serialisation:One usecase for this would be having fields that are serialised differently by some manual
serde
implementation, and shouldn't be included in the mapping.The text was updated successfully, but these errors were encountered: