Skip to content
This repository has been archived by the owner on Jun 18, 2020. It is now read-only.

Fork retrofits way of creating request methods. #126

Open
serj-lotutovici opened this issue Jun 8, 2016 · 0 comments
Open

Fork retrofits way of creating request methods. #126

serj-lotutovici opened this issue Jun 8, 2016 · 0 comments
Milestone

Comments

@serj-lotutovici
Copy link
Contributor

Currently each resource declares a method, that returns a CallSpec, each declared method uses helper factory methods to build the resulting spec. This created multiple problems with the api flexibility, and is is not type safe. A good approach to adopt the reflection based method, to provide an implementation for each method like Retrofit does, but in a more restricted fashion:

  • Allow returning only CallSpec
  • Support only GET, PUT, POST and DELETE requests
@serj-lotutovici serj-lotutovici added this to the 2.1.0 milestone Jun 8, 2016
@serj-lotutovici serj-lotutovici modified the milestones: 2.2.0, 2.1.0 Oct 20, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant