spatie/schema-org

Null or empty values are automatically excluded.

Closed this issue · 1 comments

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.

Dear contributor,

because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.