android10 / android10/Android-CleanArchitecture-Kotlin

How to handle REST and GraphQL?

Open
#97 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
4.8k
Forks
929
PR merge metrics
No merged PRs in 30d

Description

Should I just create an interface for the remote api then just process each api on its own class?

```
GetUserRest.kt

class GetUserRest : RemoteSource {
fun process(): Data {}
}

GetUserGraphQL.kt

class GetUserGraphQL : RemoteSource {
fun process(): Data {}
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.