Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate iOS FFI interface to structs (or enums) #41

Open
ivnsch opened this issue Jun 3, 2020 · 0 comments
Open

Migrate iOS FFI interface to structs (or enums) #41

ivnsch opened this issue Jun 3, 2020 · 0 comments
Milestone

Comments

@ivnsch
Copy link
Collaborator

ivnsch commented Jun 3, 2020

After #39 is cleared, migrate JSON based FFI to structs (in case directly enums are not possible) or enums.

The structs would be the same we're serializing to/from JSON.

It probably makes sense to reconsider the usage of HTTP status codes for everything. We probably should use custom status codes instead (1, 2, 3...) and pass networking related results in a nested struct (which would contain the HTTP status code).

@ivnsch ivnsch added this to the 0.4 milestone Jun 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant