Skip to content

Object or null VS. String | null #1048

Closed
@neptunecentury

Description

@neptunecentury

I noticed something interesting in the schema table, where it mentions the data type and whether or not it can accept null. It seems that for most types, it is shown as

string | null

note the pipe character.
But for objects, its listed as:

object or null

Note the use of or instead of |. Is there a meaning behind the difference? Is there a way to make it all the same, (like make them all use | (pipe))?
Image for reference.
image

Thanks for any insights!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions