Skip to content

Add missing GraphQL fields#503

Merged
duncanmcclean merged 1 commit intostatamic:7.xfrom
samalisam-novu:fix/graphql-missing-properties
Feb 23, 2026
Merged

Add missing GraphQL fields#503
duncanmcclean merged 1 commit intostatamic:7.xfrom
samalisam-novu:fix/graphql-missing-properties

Conversation

@samalisam-novu
Copy link
Contributor

Several properties returned by the SEO cascade were not exposed in the GraphQL schema, making them inaccessible to headless frontends.

This PR adds the following fields to the SeoPro GraphQL type:

  • json_ld -> returns a list of JSON-LD snippet strings (site defaults + section defaults or entry settings)
    • Maybe not necessary to seperate site defaults from the rest, but makes life easier in case you want it separately.
  • robots
  • robots_indexing
  • is_default_site
  • current_hreflang

@duncanmcclean duncanmcclean merged commit a2fce6f into statamic:7.x Feb 23, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants