Skip to content

Handle different versions of Lemmy Server #38

@fishcharlie

Description

@fishcharlie

Lemmy 0.18.0 to 0.18.3 removed a required property in the API, which caused decoding to fail. It feels like the Lemmy API is incredibly unstable between versions.

We need to figure out how to make this more stable and not throw errors between different server versions.

Some ideas:

  • Make every property optional
  • Have defaults for each property if decoding fails (ie. empty strings if decoding fails)

Any suggestions on how the community would like to see this handled would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions