Skip to content

Make properties consistent #1474

Description

@niccokunzmann

Properties should have a consistent interface when it comes to unexpected values.

Examples:

  • Event.description
  • Todo.summary
  • Journal.start

For that, we need to check the property value type and possibly the return type that is contained in the properties they refer to.

Questions arise:

  • What if a property is invalid/malformed - do we return None or do we raise an error?
  • Do we expect a different behaviour for Event.START and event.start?

What is your input on that?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions