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

Service Container Linter broken with any MapperBuilderConfiguratorAttribute #13

Closed
ddebin opened this issue Jan 9, 2024 · 1 comment · Fixed by #14
Closed

Service Container Linter broken with any MapperBuilderConfiguratorAttribute #13

ddebin opened this issue Jan 9, 2024 · 1 comment · Fixed by #14

Comments

@ddebin
Copy link

ddebin commented Jan 9, 2024

When using MapperBuilderConfiguratorAttribute (AllowPermissiveTypes, AllowSuperfluousKeys, ...) with Mapper injection, service container linting (bin/console lint:container) is broken with RuntimeException "Invalid service ...: the class is not set.".

Works fine if you omit the attribute.

@romm
Copy link
Member

romm commented Jan 13, 2024

Hi @ddebin, thanks for the report, this should be fixed by #14.

@romm romm closed this as completed in #14 Jan 13, 2024
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 a pull request may close this issue.

2 participants