discourse/plugins/discourse-solved/spec/serializers/discourse_solved
David Battersby 3b5874f94b
DEV: update solved schema for non text posts (#39253)
This change fixes missing schema fields for solved topics. Since
introducing the `suggestedAnswer` schema entry as part of the Solved
plugin, we are seeing issues with some emoji-only and image-only posts.

These non text posts lead to either `acceptedAnswer` or
`suggestedAnswer` items in the JSON-LD with "text": null, which Google
reports as "Missing field 'text'".

This change filters out posts that have no excerpt value and still
preserves written posts.
2026-04-16 19:42:48 +04:00
..
answer_schema_serializer_spec.rb
question_schema_serializer_spec.rb DEV: update solved schema for non text posts (#39253) 2026-04-16 19:42:48 +04:00