Skip to content

Comments

docs(about): about ff4j-spring-boot-starters#8

Open
paul58914080 wants to merge 1 commit intomainfrom
technical/docs-spring-boot
Open

docs(about): about ff4j-spring-boot-starters#8
paul58914080 wants to merge 1 commit intomainfrom
technical/docs-spring-boot

Conversation

@paul58914080
Copy link
Member

Checklist:

Copilot AI review requested due to automatic review settings February 21, 2026 07:35
@paul58914080 paul58914080 requested a review from a team as a code owner February 21, 2026 07:35
@github-actions
Copy link

Site preview available 🔗 https://ff4j.github.io/docs/pr-8/

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds initial documentation for FF4j Spring Boot starters under the “Advanced Concepts → Spring Boot” section, replacing the existing placeholder content.

Changes:

  • Documented the two available starters (WebMVC and WebFlux) and compared supported features.
  • Added sample Maven dependency + basic configuration + run instructions for each starter.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +12 to +17
- [
`ff4j-spring-boot-starter-webmvc`](https://github.com/ff4j/ff4j-spring-boot-starter-parent?tab=readme-ov-file#ff4j-spring-boot-starter-webmvc) -
The starter for Spring MVC applications.
- [
`ff4j-spring-boot-starter-webflux`](https://github.com/ff4j/ff4j-spring-boot-starter-parent?tab=readme-ov-file#ff4j-spring-boot-starter-webflux) -
The starter for Spring WebFlux applications.
Copy link

Copilot AI Feb 21, 2026

Choose a reason for hiding this comment

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

The starter list items appear to break Markdown link syntax by splitting the link’s opening [ onto its own line. This likely renders as a stray [ instead of a clickable link; keep each - [link](url) - description on a single line.

Suggested change
- [
`ff4j-spring-boot-starter-webmvc`](https://github.com/ff4j/ff4j-spring-boot-starter-parent?tab=readme-ov-file#ff4j-spring-boot-starter-webmvc) -
The starter for Spring MVC applications.
- [
`ff4j-spring-boot-starter-webflux`](https://github.com/ff4j/ff4j-spring-boot-starter-parent?tab=readme-ov-file#ff4j-spring-boot-starter-webflux) -
The starter for Spring WebFlux applications.
- [`ff4j-spring-boot-starter-webmvc`](https://github.com/ff4j/ff4j-spring-boot-starter-parent?tab=readme-ov-file#ff4j-spring-boot-starter-webmvc) - The starter for Spring MVC applications.
- [`ff4j-spring-boot-starter-webflux`](https://github.com/ff4j/ff4j-spring-boot-starter-parent?tab=readme-ov-file#ff4j-spring-boot-starter-webflux) - The starter for Spring WebFlux applications.

Copilot uses AI. Check for mistakes.
Comment on lines +35 to +36
Add the dependency [`ff4j-spring-boot-starter-webmvc`]()

Copy link

Copilot AI Feb 21, 2026

Choose a reason for hiding this comment

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

This is a broken Markdown link: the dependency text links to () (empty URL). Please link it to the correct starter documentation (for consistency, docs/pages/about/quickstart/index.md links to the starter README in GitHub).

Copilot uses AI. Check for mistakes.
Comment on lines +74 to +75
Add the dependency [`ff4j-spring-boot-starter-webmvc`]()

Copy link

Copilot AI Feb 21, 2026

Choose a reason for hiding this comment

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

In the WebFlux sample, the dependency text references ff4j-spring-boot-starter-webmvc and also uses an empty () URL. This should reference/link to ff4j-spring-boot-starter-webflux instead.

Copilot uses AI. Check for mistakes.
Comment on lines +101 to +103
=== "3. Bootstrap"

Run the application with `mvn spring-boot:run` and access the FF4j web console at `http://localhost:8080/ff4j-console` No newline at end of file
Copy link

Copilot AI Feb 21, 2026

Choose a reason for hiding this comment

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

This line says to access the “FF4j web console” for the WebFlux starter, but the feature matrix above indicates WebFlux does not provide the web console. Please adjust this bootstrap step to match the stated capabilities (e.g., point to REST/OpenAPI endpoints instead, or clarify if/when the console is available).

Copilot uses AI. Check for mistakes.
Comment on lines +49 to +59
```kotlin title="FF4JConfiguration.kt"
import org.ff4j.FF4j
import org.ff4j.conf.XmlParser
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration

@Configuration
class FF4JConfiguration {
@Bean
fun getFF4J(): FF4j = FF4j(XmlParser(), "ff4j-features.xml")
}
Copy link

Copilot AI Feb 21, 2026

Choose a reason for hiding this comment

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

The configuration example is written in Kotlin, but the rest of the docs pages in this section predominantly use Java snippets (e.g., docs/pages/about/advanced-concepts/aop/index.md). Consider providing the equivalent Java configuration (or offering both Java/Kotlin tabs) to stay consistent and avoid confusing readers who follow the Java-based examples elsewhere.

Copilot uses AI. Check for mistakes.
Comment on lines +3 to +4
FF4j has provided Spring Boot starters which helps in integrating FF4j into your Spring Boot
application. The starters provide autoconfiguration for FF4j, making it easy to set up and use. With
Copy link

Copilot AI Feb 21, 2026

Choose a reason for hiding this comment

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

The intro sentence has grammatical issues (“starters which helps”) and reads awkwardly. Consider rephrasing to something like “FF4j provides Spring Boot starters that help integrate FF4j into a Spring Boot application”, and keep wording consistent with the rest of the docs.

Suggested change
FF4j has provided Spring Boot starters which helps in integrating FF4j into your Spring Boot
application. The starters provide autoconfiguration for FF4j, making it easy to set up and use. With
FF4j provides Spring Boot starters that help integrate FF4j into a Spring Boot
application. The starters provide auto-configuration for FF4j, making it easy to set up and use. With

Copilot uses AI. Check for mistakes.

## Overview

FF4j has 2 Spring Boot starter
Copy link

Copilot AI Feb 21, 2026

Choose a reason for hiding this comment

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

“FF4j has 2 Spring Boot starter” should be plural and use a clearer phrasing (e.g., “FF4j provides two Spring Boot starters:”).

Suggested change
FF4j has 2 Spring Boot starter
FF4j provides two Spring Boot starters:

Copilot uses AI. Check for mistakes.
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.

1 participant