milvus-sdk-csharp icon indicating copy to clipboard operation
milvus-sdk-csharp copied to clipboard

Support default and nullable fields

Open verdie-g opened this issue 3 weeks ago • 1 comments

verdie-g avatar Nov 08 '25 18:11 verdie-g

@roji your input will be super valuable for this one.

I would like FieldSchema.Create<TData> to set the field as nullable automatically if the TData is a Nullable. For references types, maybe we could introduce a second method that takes an optional bool nullable or maybe there is something to do with C# 8 nullables?

verdie-g avatar Nov 10 '25 10:11 verdie-g