morpho-app / Morpho

Fast, flexible native Android client for Bluesky
Apache License 2.0
13 stars 1 forks source link

API Refactor #24

Closed orual closed 3 months ago

orual commented 3 months ago

Got the big refactor done.

Things accomplished:

Hoping this fixes some of the login issues as a side effect. It should make things easier going forward. Still some other clean-up needed, though.

At some point I want to move the API module (currently named "butterfly") into its own repository and publish it as a standalone Kotlin library for other people to use. We'll try and feed that with new lexicons via Lexsync, once we get that working. Debating if I want to move some of the custom wrapper types for stuff like posts and facets over there, potentially replacing the refactored generated code, because they're nicer, or if they're too app-specific (would have to be careful about making them serialize and deserialize correctly for direct transmission/reception).