Skip to content

Empty interfaces on some properties types. #7

@jhchabran

Description

@jhchabran

While using the lib, I noticed that a bunch of properties have some fields typed with interface{}:

  • DateProperty.Date
  • PeopleProperty.People
  • CheckboxProperty.Checkbox
  • ...

While technically, this doesn't prevent to use the API, it still shifts the work on the library user to handle those fields. Is there a particular reason motivating this choice?

From my understanding so far, the API data structures for these fields are rather straightforward, thus it should be simple to handle those cases.

I don't want to meddle with unwanted PRs, so I thought it'd be best to first discuss things here!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions