Skip to content

Design: consider version fallback  #473

Open
@chuwy

Description

Right now if client requests 1-0-1, but it does not exist, entity just fails with "schema not found". @dilyand is wondering if instead it can fallback to 1-0-0.

A counterargument: client defined 1-0-0 schema with some keys. Then sends an event with 1-0-1 unkown bar key of length 30, it falls back to 1-0-0. Then client uploads 1-0-1 with bar maxLength 10. We have a falsely valid entity.

A counterargument to conterargument: if 1-0-0 validates this unknown bar it must have additionalProperties: true. In that case next schema with defined bar should not be an ADDITION.

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