-
Notifications
You must be signed in to change notification settings - Fork 16
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
IBX-1288: Skipped schema generation for invalid Content Type Group / Content Type and Field Definition #109
Conversation
PR rebased agains current 1.0 + added commit with explicit logger config. |
…Content Type and Field Definition (according to GraphQL spec)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PSR namespace declaration is important for me.
The other comment about autoconfig - not so much 😅
EzSystems\EzPlatformGraphQL\Schema\Domain\Content\ContentDomainIterator: | ||
calls: | ||
- method: setLogger | ||
arguments: | ||
- '@logger' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm pretty sure that is not necessary, as this is done via autoconfiguration - see FrameworkExtension
in Symfony:
$container->registerForAutoconfiguration(LoggerAwareInterface::class)
->addMethodCall('setLogger', [new Reference('logger')]);
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authored-by: Paweł Niedzielski <[email protected]>
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
QA - approved
Warning displays as expected.
You can merge it up and to ibexa/* |
Changed has been merge up to 2.3 and master. Tomorrow I will take care of merge to ibexa/*. |
Description
Similar to #108 but for Content Type Group / Content Type and Field Definition