schema-org
schema-org copied to clipboard
Null or empty values are automatically excluded.
Readme doesn’t state that Null or empty values are automatically excluded.
I had to go through a lot setting the if conditions to check if each variable exists before it adds a schema. did this in my whole project, only to discover by chance that even if I didn’t conditionally include the schemas, all empty and null value schemas are excluded.
I believe this information will benefit a lot of people.