When trying to use the plugin with image file types I get this error.
error Field "featuredImage" of type "File" must have a selection of subfields. Did you mean "featuredImage { ... }"?
I digged a little in the code and it's because getAvailableFrontmatterFields returns all the frontmatter fields which includes the ones set as File, which requires more parameters.
Solution would be to just ignore or query them the right way. I don't know if that's even possible I'm not very experienced in GraphQL.
When trying to use the plugin with image file types I get this error.
I digged a little in the code and it's because
getAvailableFrontmatterFields
returns all the frontmatter fields which includes the ones set as File, which requires more parameters.Solution would be to just ignore or query them the right way. I don't know if that's even possible I'm not very experienced in GraphQL.