Comments (2)
Another approach is to stop supporting too many types. We can limit to only suspend or normal function which returns List or Collection.
IMO, if a dev wants to support Flow
for API, he/she can easily create a repository class. The API just does request and response data, not handle the other things (Single responsibility principle).
I definitely vote for this.
@theapache64 What do you think?
from retrosheet.
Sorry for the late reply. I somehow missed this issue.
Incorrect if the return type is something like this: Foo<Bar<Baz<List>>
As of now, technically, retrosheet can only return an Object
or List<Object>
. so the above given generic wouldn't be technically possible at all. This means, even if we write support for that, that case won't occur.
If we extract secondary type from Flow like what ...
If the consumer wants to use Flow
, Resource
, or any other custom type. They'll have to write custom retrofit call adapters for that. I think this doesn't come under retrosheet
.
from retrosheet.
Related Issues (20)
- Edit data HOT 2
- Improve auto type (List or Object) for CSV to JSON conversion HOT 3
- Improve API
- Release build failing with `minifyRelease` enabled citing an unexpected usage left in retrosheet
- Support nullable methods
- Error when using suspend List<Note>
- Add request only logging
- Edit and delete records HOT 4
- Is it possible to use this library in a Kotlin Multiplatform Mobile app? HOT 3
- java.lang.NoSuchMethodError: No interface method getTypeName (API level 25)
- Can we add the Authorization to this ?
- The Sheet is not working in some devices
- PatternSyntaxException when deploy on AndroidTV
- What is the limit of this sheet ? HOT 2
- Multiplatform Support HOT 1
- Support for accent marks
- Enable to add adapter to Moshi
- Update README
- com.theapache64:expekt in jcenter, not mavencentral HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from retrosheet.