Skip to content
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

Resolve description of properties #458

Open
angelozerr opened this issue Aug 22, 2024 · 0 comments
Open

Resolve description of properties #458

angelozerr opened this issue Aug 22, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@angelozerr
Copy link
Contributor

When a MicroProfile project is loaded to collect all properties of the project from the classpath, we get the description too:

{
  "projectURI": "qute-record",
  "classpathKind": 2,
  "properties": [
    {
      "type": "java.lang.String",
      "sourceField": "removeUnusedBeans",
      "defaultValue": "all",
      "extensionName": "quarkus-arc",
      "required": false,
      "phase": 1,
      "name": "quarkus.arc.remove-unused-beans",
      "description": "\u003cul\u003e\n\u003cli\u003eIf set to {@code all} (or {@code true}) the container will attempt to remove all unused beans.\u003c/li\u003e\n\u003cli\u003eIf set to {@code none} (or {@code false}) no beans will ever be removed even if they are unused (according to the\ncriteria set out\nbelow)\u003c/li\u003e\n\u003cli\u003eIf set to {@code fwk}, then all unused beans will be removed, except the unused beans whose classes are declared in\nthe\napplication code\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003e\nAn unused bean:\n\u003cul\u003e\n\u003cli\u003eis not a built-in bean or interceptor,\u003c/li\u003e\n\u003cli\u003eis not eligible for injection to any injection point,\u003c/li\u003e\n\u003cli\u003eis not excluded by any extension,\u003c/li\u003e\n\u003cli\u003edoes not have a name,\u003c/li\u003e\n\u003cli\u003edoes not declare an observer,\u003c/li\u003e\n\u003cli\u003edoes not declare any producer which is eligible for injection to any injection point,\u003c/li\u003e\n\u003cli\u003eis not directly eligible for injection into any {@link jakarta.enterprise.inject.Instance} injection point\u003c/li\u003e\n\u003c/ul\u003e\n\n@see UnremovableBeanBuildItem",
      "sourceType": "io.quarkus.arc.deployment.ArcConfig"
    },

This description can be big. To avoid that, this description could be not loaded and resolved when we need it.

@angelozerr angelozerr added the enhancement New feature or request label Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant