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

With Component.Import check for public constructor #398

Merged
merged 2 commits into from
Sep 6, 2023

Conversation

rbygrave
Copy link
Contributor

@rbygrave rbygrave commented Sep 6, 2023

So the DI class to wire the imported component will be in the same package as the component unless it has a public constructor, and then it can be put into a
di subpackage.

So the DI class to wire the imported component will be
in the same package as the component unless it has a
public constructor, and then it can be put into a
di subpackage.
@rbygrave rbygrave linked an issue Sep 6, 2023 that may be closed by this pull request
@rbygrave rbygrave self-assigned this Sep 6, 2023
@rbygrave rbygrave added this to the 9.6 milestone Sep 6, 2023
@SentryMan
Copy link
Collaborator

does this mean we can remove the new attribute I added to @Import?

@rbygrave
Copy link
Contributor Author

rbygrave commented Sep 6, 2023

does this mean we can remove the new attribute I added to @import?

Well yeah I think we could actually.

@SentryMan
Copy link
Collaborator

let's toss it then

@rbygrave
Copy link
Contributor Author

rbygrave commented Sep 6, 2023

Ok yeah, makes sense cause we probably don't expect people to use it so yup - ok, I'll do that.

Copy link
Collaborator

@SentryMan SentryMan left a comment

Choose a reason for hiding this comment

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

LGTM

@rbygrave rbygrave merged commit 8a7c1be into master Sep 6, 2023
4 checks passed
@SentryMan SentryMan deleted the feature/396-constructor-detect branch September 6, 2023 03:09
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.

@Component.Import for classes with package private constructors
2 participants