Skip to content

docs: Document that FeatureFlags.setEnabled writes the properties file #25567 - #25771

Merged
caalador merged 4 commits into
vaadin:mainfrom
AzazelSensei:docs-featureflags-setenabled-25567
Oct 26, 2026
Merged

caalador merged 4 commits into
vaadin:mainfrom
AzazelSensei:docs-featureflags-setenabled-25567

Conversation

@AzazelSensei

Copy link
Copy Markdown
Contributor

FeatureFlags.setEnabled writes src/main/resources/vaadin-featureflags.properties, so a call from a test edits the project.

I put that on the method. For a one-off run, vaadin.experimental.<id> does not touch the file.

Fixes #25567

The method edits src/main/resources/vaadin-featureflags.properties, so a
call from a test changes the project. vaadin.experimental.<id> does not.

Fixes vaadin#25567
@caalador caalador added the Contribution PRs coming from the community or external to the team label Sep 21, 2026
@mshabarov mshabarov added the Intent Approved Labeled open PR means 1. Problem confirmed, 2. Solution confirmed. label Sep 23, 2026
mshabarov
mshabarov previously approved these changes Oct 1, 2026

@platosha platosha left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good content-wise.

We have an auto-formatter validation check, and it is currently blocking this. I suggested changes from its output. Please accept, or alternatevly, run mvn spotless:apply -pl flow-server and commit back the changes.

@AzazelSensei

Copy link
Copy Markdown
Contributor Author

Thanks, applied the formatter changes.

@caalador
caalador requested a review from platosha October 23, 2026 08:48
@caalador
caalador dismissed platosha’s stale review October 26, 2026 05:08

Changes have been fixed as requested.

@caalador
caalador added this pull request to the merge queue Oct 26, 2026
Merged via the queue into vaadin:main with commit 71a6828 Oct 26, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Contribution PRs coming from the community or external to the team Intent Approved Labeled open PR means 1. Problem confirmed, 2. Solution confirmed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hackathon 25.3: FeatureFlags.setEnabled rewrites the project's source file

4 participants