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

fix(gatsby-transformer-sqip): make it work again #14996

Merged
merged 3 commits into from
Jun 24, 2019

Conversation

axe312ger
Copy link
Collaborator

@axe312ger axe312ger commented Jun 20, 2019

Description

Issue 1

When sharp & contentful are enabled, gatsby crashes with:

Error: Schema must contain uniquely named types but contains multiple types named "Sqip".

This fixes the issue by using two different names for both SQIP objects

Issue 2

Contentful does not cache sqips in richt folder (node_modules/.cache/...)

Issue 3

In one of the merges in the last PR, one of us added code from the old queueing system.

This lead to broken and/or duplicate SQIP generation 😓

It for sure was because the code was pretty weird, with this and the last PR it should be more maintainable now :)

@axe312ger axe312ger added the status: awaiting reviewer response A pull request that is currently awaiting a reviewer's response label Jun 20, 2019
@axe312ger axe312ger requested a review from a team as a code owner June 20, 2019 23:16
@axe312ger axe312ger changed the title fix(gatsby-transformer-sqip): separate schema object names for both SQIP variants fix(gatsby-transformer-sqip): fixes several issues from last version in combination with contentful Jun 21, 2019
@axe312ger axe312ger removed the status: awaiting reviewer response A pull request that is currently awaiting a reviewer's response label Jun 24, 2019
@axe312ger axe312ger changed the title fix(gatsby-transformer-sqip): fixes several issues from last version in combination with contentful fix(gatsby-transformer-sqip): make it work again 🚀 Jun 24, 2019
@axe312ger axe312ger changed the title fix(gatsby-transformer-sqip): make it work again 🚀 fix(gatsby-transformer-sqip): make it work again Jun 24, 2019
@wardpeet wardpeet added the status: awaiting reviewer response A pull request that is currently awaiting a reviewer's response label Jun 24, 2019
@freiksenet
Copy link
Contributor

Thank you!

@freiksenet freiksenet added the bot: merge on green Gatsbot will merge these PRs automatically when all tests passes label Jun 24, 2019
@gatsbybot gatsbybot merged commit 7ab0c62 into master Jun 24, 2019
@axe312ger axe312ger deleted the fix-sqip-schema-names branch June 24, 2019 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: merge on green Gatsbot will merge these PRs automatically when all tests passes status: awaiting reviewer response A pull request that is currently awaiting a reviewer's response
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants