Skip to content

Conversation

@adamwojs
Copy link
Member

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

Description

As discussed with @bdunogier we should skip schema generation for invalid Image Variation (according to GraphQL spec) and emit warning to logs (and console output):

Skipped schema generation for Image Variation with identifier '50_square'. Please rename given image variation according to GraphQL specification (http://spec.graphql.org/June2018/#sec-Names)

@adamwojs adamwojs changed the title IBX-1085: Skipped schema generation for invalid Image Variation (according to GraphQL spec) IBX-1085: Skipped schema generation for invalid Image Variation Oct 18, 2021
@adamwojs adamwojs marked this pull request as ready for review October 18, 2021 11:23
@adamwojs adamwojs requested review from a team, bdunogier and webhdx October 18, 2021 11:23
@adamwojs adamwojs requested a review from alongosz October 18, 2021 11:42
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.

Tested on v3.3.10 and v2.5.24

After patch application - error is absent.

@bdunogier
Copy link
Contributor

Good for me.

Note that this should be documented ! Maybe in the image variation doc ?

@DominikaK DominikaK added the Doc needed The changes require some documentation label Oct 20, 2021
@sonarqubecloud
Copy link

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 merged commit 7431563 into 1.0 Oct 22, 2021
@adamwojs adamwojs deleted the ibx_1085 branch October 22, 2021 10:03
@adamwojs
Copy link
Member Author

Waiting for merge up for #109 merge

@DominikaK DominikaK removed the Doc needed The changes require some documentation label Oct 26, 2021
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.

8 participants