conjure-java-runtime icon indicating copy to clipboard operation
conjure-java-runtime copied to clipboard

Verify that retrofit works with absolute URLs on methods

Open uschi2000 opened this issue 7 years ago • 6 comments

uschi2000 avatar Sep 15 '17 11:09 uschi2000

not sure if related but im seeing

Unable to create call adapter for class java.lang.String
    for method <myService>.<myMethod> cause java.lang.IllegalArgumentException: Could not locate call adapter for class java.lang.String.
  Tried:
   * com.palantir.remoting2.retrofit2.AsyncSerializableErrorCallAdapterFactory
   * retrofit2.DefaultCallAdapterFactory stack java.lang.IllegalArgumentException: Unable to create call adapter for class java.lang.String
    for method <myService>.<myMethod>

sixinli avatar Sep 25 '17 19:09 sixinli

Don't think this is related

uschi2000 avatar Sep 25 '17 19:09 uschi2000

This issue has been automatically marked as stale because it has not been touched in the last 60 days. Please comment if you'd like to keep it open, otherwise it'll be closed in 7 days time.

stale[bot] avatar Oct 19 '18 23:10 stale[bot]

I think Conjure actually generates a fun little ./ to workaround exactly this:

@GET("./foo/{index}")

Otherwise, concatenating the base url http://example.com/context-path and /foo/{index} results in the broken url: http://example.com/foo/{index}.

iamdanfox avatar Oct 29 '18 11:10 iamdanfox

This issue has been automatically marked as stale because it has not been touched in the last 60 days. Please comment if you'd like to keep it open, otherwise it'll be closed in 7 days time.

stale[bot] avatar Dec 28 '18 11:12 stale[bot]

@iamdanfox I don't think the stalebot is working well for us.

uschi2000 avatar Jan 04 '19 19:01 uschi2000