craftql icon indicating copy to clipboard operation
craftql copied to clipboard

Fails with ethercreative's SEO plugin

Open loremipson opened this issue 7 years ago • 3 comments

seo comes with a new field type covered here: https://github.com/ethercreative/seo#the-field-type

If this field type is active on any section at all, CraftQL never gets Schema.

Through the GraphiQL interface returns the following error:

{
  "error": "Could not find possible implementing types for VolumeInterface in schema. Check that schema.types is defined and is an array of all possible types in the schema."
}

loremipson avatar Mar 09 '18 21:03 loremipson

I'll test this out locally. Thanks for the heads up.

markhuot avatar Mar 09 '18 21:03 markhuot

It worked fine until the Craft 3.1 update.

seo {
  title
}

results in

{
  "error": "String cannot represent non scalar value: instance of Twig_Markup"
}

Craft 3.1.5 SEO 3.5.4 CraftQL 1.3.0

roelvanhintum avatar Jan 29 '19 11:01 roelvanhintum

Fixed in https://github.com/ethercreative/seo/issues/187

roelvanhintum avatar Feb 08 '19 13:02 roelvanhintum