-
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
Extend image in block content #91
Comments
I am having similar issues. Based on the error message, it does not even make it to that Just looking at the sample test data, it would seem that Based on my research: declaring custom types, such as this image example is not yet supported by If I have time I may implement something. |
Here's a demonstration of how you might write it with the existing API: |
Any solution @fschroiff? |
Hey @fritz-c |
Closing as stale. Please reopen if we need further discussion on the original issues. |
Not to reopen, but to perhaps provide a solution:
|
I can't quite grasp what you have to do to get metadata (palette for example) in an image field in block content.
In my query I have a
mainImage
where I can get the palette and do stuff with it. In the body there's also an image. What do I need to do to hav that return the palette as well?To test I tried (knowing that asset isn't a string):
But just got
Invalid literal value, expected "block"
. I can't quite wrap my head around what I would need to do.The text was updated successfully, but these errors were encountered: