android10 / android10/Android-CleanArchitecture-Kotlin
How to handle REST and GraphQL?
Open
- 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.