Skip to content

Conversation

@ItalyPaleAle
Copy link
Contributor

Also replaces golang.org/x/exp/slices with slices from the Go 1.21 stdlib

small spin-off from #3046

Also replaces `golang.org/x/exp/slices` with `slices` from the Go 1.21 stdlib

> small spin-off from dapr#3046

Signed-off-by: ItalyPaleAle <[email protected]>
@ItalyPaleAle ItalyPaleAle requested review from a team as code owners December 18, 2023 18:19
@berndverst
Copy link
Member

Where is the tracking issue for this? Why are we doing this? I would like some explanation - no PRs without discussion.

Copy link
Member

@berndverst berndverst left a comment

Choose a reason for hiding this comment

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

Background needed

@ItalyPaleAle
Copy link
Contributor Author

Where is the tracking issue for this?

Just a refactoring to avoid code duplication. Instead of having a Features struct defined in each package, and the Contains method repeated, it's now implemented just once (and re-exported using generics)

@berndverst berndverst merged commit c47907d into dapr:main Jan 8, 2024
@ItalyPaleAle ItalyPaleAle deleted the feature-generic branch January 8, 2024 18:25
eunicecompra pushed a commit to eunicecompra/components-contrib that referenced this pull request Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants