chore: Don't transform Observation shape from server #830
gmaclennan
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For historical reasons, we transform the observation received from the server to a different shape for use within the app. This makes it harder to share code between mobile and desktop and is confusing for developers. (It was a short-term short-cut dating back to when the two apps were developed separately and we had not agreed on a schema for Mapeo, so it was easier than re-writing).
With all the flow types in place it should be relatively easy to remove the transform and adjust all the components to accept the Observation shape as exported from
mapeo-schema
Beta Was this translation helpful? Give feedback.
All reactions