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
[gatsby-source-contentful] Missing support for transforming image assets with cornerRadius
#29784
Comments
CC @axe312ger |
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 20 days since the last update here. Thanks for being a part of the Gatsby community! 💪💜 |
Not stale |
@bobeagan Any reason why you don't do this with CSS? |
I'm already transforming the image and its available via their API so seems nice to be able to have it handled and cached on their end. As a workaround we are doing with CSS for now though. I just felt it would be nice to have full coverage of their image API capabilities available. |
Will leave this open as feature request. Feel free to create a PR, I am happy to review an merge. |
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 20 days since the last update here. Thanks for being a part of the Gatsby community! 💪💜 |
This is not forgotten, and as other issues with higher priority getting done, I might find time to add this in the follow weeks :) |
closes #29784 Co-authored-by: axe312ger <opensource@axe312.dev>
Description
Attempting to run a GraphQL query for an Asset from Contentful does not allow specifying a cornerRadius option. All other options appear to be present except that one.
Steps to reproduce
Attempt to build a query that tries to transform the image using cornerRadius and see that it is not supported or inspect the schema for the type (see below)
Expected result
It should support all of the options according to the Contentful spec
Actual result
Receive error in GraphiQL explorer: `Unknown argument "cornerRadius" on field "fixed" of type "ContentfulAsset".
Environment
Can see that it is not present in the current master branch:
gatsby/packages/gatsby-source-contentful/src/extend-node-type.js
Line 474 in 3b4d32f
The text was updated successfully, but these errors were encountered: