GraphQL Error #13136
-
I'm getting an error from GraphQL and I'm having trouble diagnosing it. It's complaining about a content part with no fields but I have checked my Documents table and every instance of that content part has the contained field. I'm also not finding the method names that the error is reporting in the Orchard Core source code (e.g. Is there anyone familiar with GraphQL that can take a look at this and point me in the right direction?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I have a clue about this error. The ContentPart in question only contains a single custom field that we use to reference images from the Bynder digital asset management system. Since GraphQL wouldn't know how to query that custom field type, assumably it strips it out, leaving an empty part. Now, we have other empty ContentPart definitions in our schema that GraphQL doesn't have an issue with - we use them as place holders in content items so that Which contributors to Orchard Core are the GraphQL experts? I'd be happy to make the coding changes if someone can point me to the relevant methods (with all the dependency injection in the system, I haven't been able to track them down yet). |
Beta Was this translation helpful? Give feedback.
-
#13148 fixes this issues |
Beta Was this translation helpful? Give feedback.
#13148 fixes this issues