ashhitch / gatsby-plugin-wpgraphql-seo

Gatsby Plugin to Bring Yoast Seo Data into Gatsby via WpGraphQL.
MIT License
13 stars 8 forks source link

Allow Schema Arrays in SEO #13

Closed smujmaiku closed 3 years ago

smujmaiku commented 3 years ago

The json-ld spec specifies "... an array of zero or more node objects." However, the postSchema property in the SEO component doesn't allow for an array of schema. Instead an array is converted to an Object:

{"0": { ... }, "1": { ... }}