Skip to content

Testing optional properties with null #29

@filip26

Description

@filip26

Hi,
I'm not sure about this test input/credential-id-nonidentifier-fail.json.

It expects to fail when null on an optional property is set. Using null to test a required property is fine, but in a case of optional one, it might not be a good idea because many JSON and JSON-LD processors skip/omit properties with null. e.g. sometimes a special configuration is required to force a JSON parser to keep nulls.

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