ashhitch/wp-graphql-yoast-seo

Content types returns null

macphersonj opened this issue · 4 comments

When querying contentTypes on archive pages I receive

contentTypes: post: null

The query as per docs:

contentTypes {
            post {
                title
                schemaType
                metaRobotsNoindex
                metaDesc
                schema {
                    raw
                }

                archive {
                    fullHead
                    archiveLink
                    breadcrumbTitle
                    hasArchive
                    metaDesc
                    metaRobotsNoindex
                    title
                }
            }
            }
            

Running latest versions of both WPGraphql and this plugin

Perhaps the types have changed in the latest version?

@macphersonj can you test with v4.22.5

Screenshot 2023-07-03 at 4 32 03 pm

Thanks @ashhitch, it gets me further but no Schema is present. Perhaps thats due to settings

It seems Yoast have introduced and indexable flag. Just trying to figure what it does as it stops the data returning