Skip to content

Fix TYPE_USE annotated dependencies #823

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

SentryMan
Copy link
Collaborator

Fix issue where TYPE_USE annotations would cause the wrong type to be registered, causing errors like:

No dependency provided for [email protected] AtomicBoolean on org.example.myapp.lazy.LazyBean

dependabot bot and others added 4 commits May 29, 2025 03:48
Bumps the dependencies group with 2 updates: [io.avaje:avaje-config](https://github.com/avaje/avaje-config) and [io.avaje:avaje-jsonb](https://github.com/avaje/avaje-jsonb).


Updates `io.avaje:avaje-config` from 4.0 to 4.1
- [Release notes](https://github.com/avaje/avaje-config/releases)
- [Commits](avaje/avaje-config@4.0...4.1)

Updates `io.avaje:avaje-jsonb` from 3.4 to 3.5
- [Release notes](https://github.com/avaje/avaje-jsonb/releases)
- [Commits](avaje/avaje-jsonb@3.4...3.5)

---
updated-dependencies:
- dependency-name: io.avaje:avaje-config
  dependency-version: '4.1'
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: io.avaje:avaje-jsonb
  dependency-version: '3.5'
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
@SentryMan SentryMan added this to the 11.6 milestone May 29, 2025
@SentryMan SentryMan self-assigned this May 29, 2025
@SentryMan SentryMan added the bug Something isn't working label May 29, 2025
@SentryMan SentryMan enabled auto-merge (squash) May 29, 2025 04:21
@SentryMan SentryMan requested a review from rbygrave May 29, 2025 04:23
@@ -223,7 +223,7 @@ static String extractMap(String rawType) {
}

static UtilType determineType(TypeMirror rawType, boolean beanMap) {
return UtilType.of(rawType.toString(), beanMap, rawType);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

problem was that we weren't sanitizing the type mirror to string

@SentryMan SentryMan requested a review from rob-bygrave June 2, 2025 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant