Skip to content

[MEVD] Constrain TRecord to be notnull (and/or new()) #11131

@roji

Description

@roji

The generic type parameter representing a record in the collection (TRecord) currently isn't constrained, and therefore can be a nullable type (e.g. Product?); that doesn't make much sense (and wouldn't work), and causes us to use bangs in various places in the codebase.

/cc @westey-m @dmytrostruk @adamsitnik

Metadata

Metadata

Assignees

Labels

BuildFeatures planned for next Build conferencemsft.ext.vectordataRelated to Microsoft.Extensions.VectorData

Type

No type

Projects

Status

Sprint: Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions