Skip to content

[JEWEL-636] Remove context receivers from KeyActions #3014

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

hamen
Copy link
Collaborator

@hamen hamen commented Apr 2, 2025

KeyActions was triggering a warning during build time:

Experimental context receivers are deprecated and will be superseded by context parameters.
Please don't use context receivers. You can either pass parameters explicitly or use members with extensions.

I investigated it a bit, and it looks like we are luckily not using Context Receivers heavily. We should be OK with a couple of passed-in parameters and a couple of with(...) {...}.

Tested building the Standalone sample using Gradle and building the whole IJC with JPS.

@hamen hamen marked this pull request as ready for review April 2, 2025 10:11
@hamen hamen self-assigned this Apr 2, 2025
@hamen hamen requested a review from rock3r April 2, 2025 10:13
@rock3r rock3r added the Jewel label Apr 2, 2025
Copy link
Collaborator

@rock3r rock3r left a comment

Choose a reason for hiding this comment

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

ready to merge, thanks!

@rock3r rock3r deleted the hamen/JEWEL-636 branch April 11, 2025 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants