hasura / hasura/graphql-engine
Can't access sub selection of Remote Schema fields
- Dominant language
- TypeScript
- Stars
- 32.1k
- Forks
- 3k
- PR merge metrics
- PR metrics pending
Description
We have Craft CMS connected as a Remote Schema in Hasura v2.0.0-alpha.10 which works great.
Unfortunatly some sub-fields are not accessible in the Query while the GraphQL Explorer is showing the fields without any error:
The query:
```graphql
{
entry(type:"frontpage") {
... on frontpage_frontpage_Entry {
introImage {
embeddedAsset {
html
image
type
imageWidth
imageHeight
}
}
}
}
}
```
Craft CMS GraphQL Explorer:

Hasura GraphQL Explorer:

The plugin in question is https://github.com/spicywebau/craft-embedded-assets
As its working in Craft CMS my guess is that the problem is somewhere to find in the Remote Schema implementation.
If this error is unrelated to Hasura please let me know, then i will try to solve the problem with the Plugin-Author.
Thanks!
Contributor guide
Research direction
No repository file or test is named in the report. Start by running the provided GraphQL query against Hasura v2.0.0-alpha.10 and comparing its Remote Schema fields with the Craft CMS GraphQL Explorer; done means determining why the embeddedAsset sub-selection is unavailable or confirming the issue belongs to the plugin.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql, typescript
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100