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

ArC: improve description of injection points that are parameters #37998

Merged
merged 1 commit into from
Jan 4, 2024

Conversation

Ladicek
Copy link
Contributor

@Ladicek Ladicek commented Jan 3, 2024

The improvement is twofold:

  • it highlights that the injection point is a parameter by putting the parameter name at the beginning instead of the end;
  • it uses the word "constructor" explicitly in case the parameter belongs to a constructor.

Resolves #37923

@quarkus-bot quarkus-bot bot added the area/arc Issue related to ARC (dependency injection) label Jan 3, 2024
@mkouba mkouba added the triage/waiting-for-ci Ready to merge when CI successfully finishes label Jan 3, 2024

This comment has been minimized.

The improvement is twofold:

- it highlights that the injection point is a parameter by putting
  the parameter name at the beginning instead of the end;
- it uses the word "constructor" explicitly in case the parameter
  belongs to a constructor.
@Ladicek
Copy link
Contributor Author

Ladicek commented Jan 3, 2024

Turns out InjectionFailedTest in Qute also asserts on the error message. Amended.

@Ladicek Ladicek force-pushed the improve-injection-point-target-info branch from a1801ee to 2401bd6 Compare January 3, 2024 15:25
@quarkus-bot quarkus-bot bot added the area/qute The template engine label Jan 3, 2024
Copy link

quarkus-bot bot commented Jan 3, 2024

✔️ The latest workflow run for the pull request has completed successfully.

It should be safe to merge provided you have a look at the other checks in the summary.

@mkouba mkouba merged commit 69b001f into quarkusio:main Jan 4, 2024
50 checks passed
@quarkus-bot quarkus-bot bot added kind/enhancement New feature or request and removed triage/waiting-for-ci Ready to merge when CI successfully finishes labels Jan 4, 2024
@quarkus-bot quarkus-bot bot added this to the 3.7 - main milestone Jan 4, 2024
@Ladicek Ladicek deleted the improve-injection-point-target-info branch January 4, 2024 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/arc Issue related to ARC (dependency injection) area/qute The template engine kind/enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

missing constructor parameter annotation reported as if member is missing annotation
2 participants