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

IBX-1288: Skipped schema generation for invalid Content Type Group / Content Type and Field Definition #109

Merged
merged 5 commits into from
Oct 25, 2021

Conversation

adamwojs
Copy link
Member

JIRA: https://issues.ibexa.co/browse/IBX-1288

Description

Similar to #108 but for Content Type Group / Content Type and Field Definition

@adamwojs adamwojs marked this pull request as ready for review October 19, 2021 14:09
@adamwojs adamwojs requested review from bdunogier, ViniTou, webhdx and a team October 19, 2021 14:09
Base automatically changed from ibx_1085 to 1.0 October 22, 2021 10:03
@adamwojs
Copy link
Member Author

PR rebased agains current 1.0 + added commit with explicit logger config.

Copy link
Contributor

@Steveb-p Steveb-p left a 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 😅

composer.json Outdated Show resolved Hide resolved
Comment on lines +61 to +65
EzSystems\EzPlatformGraphQL\Schema\Domain\Content\ContentDomainIterator:
calls:
- method: setLogger
arguments:
- '@logger'
Copy link
Contributor

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')]);

Copy link
Member Author

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]>
@sonarcloud
Copy link

sonarcloud bot commented Oct 25, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@adamwojs adamwojs requested a review from Steveb-p October 25, 2021 09:39
Copy link

@kacper-wieczorek-ibexa kacper-wieczorek-ibexa left a 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.

@webhdx webhdx merged commit 8e8c8c5 into 1.0 Oct 25, 2021
@webhdx webhdx deleted the ibx_1288 branch October 25, 2021 11:33
@webhdx
Copy link
Contributor

webhdx commented Oct 25, 2021

You can merge it up and to ibexa/*

@adamwojs
Copy link
Member Author

Changed has been merge up to 2.3 and master. Tomorrow I will take care of merge to ibexa/*.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

6 participants