Skip to content

ApiXmlAdjuster doesn't remove nested types #852

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

Closed
jpobst opened this issue Jun 15, 2021 · 0 comments
Closed

ApiXmlAdjuster doesn't remove nested types #852

jpobst opened this issue Jun 15, 2021 · 0 comments
Labels
bug Component does not function as intended generator Issues binding a Java library (generator, class-parse, etc.)

Comments

@jpobst
Copy link
Contributor

jpobst commented Jun 15, 2021

Given a type that ApiXmlAdjuster cannot resolve, it will remove the type from the output. However, because the collection of types is flattened, it will not remove types that are nested in that type.

When generator reads this collection back in, it will output:

Could not find top ancestor type 'my.package.MyClass' for nested type 'my.package.MyClass.MyNestedClass'

because the parent type is no long present.

@jpobst jpobst added bug Component does not function as intended generator Issues binding a Java library (generator, class-parse, etc.) labels Jun 15, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Component does not function as intended generator Issues binding a Java library (generator, class-parse, etc.)
Projects
None yet
Development

No branches or pull requests

1 participant