Skip to content

.Net: replace custom delegates with Func - #11889

Closed
Adam Sitnik (adamsitnik) wants to merge 1 commit into
microsoft:feature-vector-data-preb3from
adamsitnik:noCustomDelegates
Closed

Adam Sitnik (adamsitnik) wants to merge 1 commit into
microsoft:feature-vector-data-preb3from
adamsitnik:noCustomDelegates

Conversation

@adamsitnik

Copy link
Copy Markdown
Member

It addresses the concerns I've expressed in #11879 (comment)

To tell the long story short, there is no need to expose a new public type if we can just use Func

@adamsitnik
Adam Sitnik (adamsitnik) requested a review from a team as a code owner May 5, 2025 12:38
@markwallace-microsoft Mark Wallace (markwallace-microsoft) added .NET Issue or Pull requests regarding .NET code kernel Issues or pull requests impacting the core kernel memory labels May 5, 2025
@github-actions github-actions Bot changed the title replace custom delegates with Func .Net: replace custom delegates with Func May 5, 2025
/// The first <see cref="string"/> argument is the name of the vector to look up.
/// </para>
/// </remarks>
[Experimental("MEVD9000")]

@adamsitnik Adam Sitnik (adamsitnik) May 5, 2025 •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was not sure if [Experimental("MEVD9000")] was here because the delegates were experimental or if we want to remove the ability to resolve something in custom way in the long term.

@roji

Copy link
Copy Markdown
Member

Let's discuss if we even want to keep the InMemory KeyResolver/VectorResolver. westey (@westey-m) Dmytro Struk (@dmytrostruk) what were the reasons for introducing these in the first place? Do we think we should keep them?

@adamsitnik

Copy link
Copy Markdown
Member Author

See #11934

This branch was previously deployed

1 inactive deployment
integration — 0377d5bd Deployed May 5, 2025 by adamsitnik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kernel Issues or pull requests impacting the core kernel memory .NET Issue or Pull requests regarding .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants