You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During deserialization of a https://schema.org/Recipe it came to my attention that https://schema.org/recipeInstructions can apparently be "an ordered list with HowToStep and/or HowToSection items", but that fact is nowhere to be seen in the structured data.
One of these things must be true:
The description is wrong. (i doubt it)
The structured data is missing HowToStep and HowToSection as possible types for recipeInstructions. (possible)
ItemList and ListItem are actually generic types. (i fear for the worst)
The text was updated successfully, but these errors were encountered:
By current schema.org semantics, the typing of the objects in the ItemList can be anything like an old school Java List. But in practice, they are going to be the things in the range of the property they are used in [...].
This suggests to me that the types of this library need to be re-thought. The choice of using serde also doesn't seem ideal, maybe built-in https://github.com/timothee-haudebourg/json-ld support makes more sense.
For now I found a workaround but I might revisit this later or if someone else actually wants to use this library :)
During deserialization of a https://schema.org/Recipe it came to my attention that https://schema.org/recipeInstructions can apparently be "an ordered list with HowToStep and/or HowToSection items", but that fact is nowhere to be seen in the structured data.
One of these things must be true:
HowToStep
andHowToSection
as possible types forrecipeInstructions
. (possible)ItemList
andListItem
are actually generic types. (i fear for the worst)The text was updated successfully, but these errors were encountered: