Skip to content

Improve generated code for aspects - not generate the unused $DI as we only use the $Proxy$DI #261

Closed
@rbygrave

Description

@rbygrave

Lets say we have a ExampleService that has aspects applied to it.

Currently the code generation generates a ExampleService$DI with empty build wiring logic. Instead, we should just not generate it AT ALL. This is because the ExampleService$Proxy and ExampleService$Proxy$DI are generated and the only things we need for this case.

The fix for this is to change to not generate the ExampleService$DI at all when ExampleService is a component with aspects.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions