Skip to content

Conversation

@gentlegiantJGC
Copy link
Member

Types like union have nested types in them.
The current implementation only removes the current module name from the root type name.
This modifies that behaviour so that it recursively handles nested types.

Types like union types have nested types in them.
The current implementation only removes the current module name from the root type name.
This modifies that behaviour so that it expands nested types recursively.
pybind11 requires that arguments are default constructable but Foo is not
@gentlegiantJGC gentlegiantJGC merged commit 026684b into main Sep 15, 2025
19 checks passed
@gentlegiantJGC gentlegiantJGC deleted the fix-union-qualname branch September 15, 2025 09:38
gentlegiantJGC added a commit that referenced this pull request Sep 15, 2025
* Remove current module from nested types

Types like union types have nested types in them.
The current implementation only removes the current module name from the root type name.
This modifies that behaviour so that it expands nested types recursively.

* Add tests

* Reorder variant types

pybind11 requires that arguments are default constructable but Foo is not

* Reorder types in union

* Add nested types to all

* Add missing stubs
gentlegiantJGC added a commit that referenced this pull request Sep 18, 2025
Nested type (such as in Unions) were not being processed.
This is a better implementation of #18 from sizmailov#263
gentlegiantJGC added a commit that referenced this pull request Sep 18, 2025
Nested type (such as in Unions) were not being processed.
This is a better implementation of #18 from sizmailov#263
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