Skip to content

Fix issue with the generation of doneable classes for inner class custom resources #250

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

Merged
merged 6 commits into from
Dec 8, 2020

Conversation

s-soroosh
Copy link
Contributor

closes #249

Copy link
Collaborator

@metacosm metacosm left a comment

Choose a reason for hiding this comment

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

Apart from the ClassMappingProvider vs CustomResourceToCustomResourceDoneableProvider comment, LGTM.

import java.util.stream.Collectors;


class CustomResourceToCustomResourceDoneableProvider {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can't this and ClassMappingProvider somehow be made generic so that they share code?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Actually, this class was supposed to be replaced by ClassMappingProvider.
I think I just missed to remove it, will check.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The class was indeed unused, removed it.

@csviri csviri merged commit 8262cfe into operator-framework:master Dec 8, 2020
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.

getCustomResourceDoneableClass doesn't work for inner classes
3 participants