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

Fix for unnamed generic types returned by @Factory @Bean #589

Merged
merged 1 commit into from
Jun 5, 2024

Conversation

rob-bygrave
Copy link
Contributor

As currently the full generic type is not used in the generated build method name but just the top level main type then the generated build method can clash resulting in a compile error.

This fix detects this case and includes the factory method name in the "generated build method" such that it avoids the clash.

As currently the full generic type is not used in the generated build method name but just the top level main type then the generated build method can clash resulting in a compile error.

This fix detects this case and includes the factory method name in the "generated build method" such that it avoids the clash.
@rob-bygrave rob-bygrave added this to the 10.0 milestone Jun 5, 2024
@rob-bygrave rob-bygrave self-assigned this Jun 5, 2024
@SentryMan SentryMan merged commit bbdfe8b into master Jun 5, 2024
7 checks passed
@SentryMan SentryMan deleted the feature/fix-generic-build-method-name branch June 5, 2024 01:31
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.

2 participants