Closed GoogleCodeExporter closed 8 years ago
Another alternative to the introspection which I don't quite like as much is to
add a
return type on ExtensibleClient.callMethod() so that each of the methods like
Long
marketplace_editListing can, at the time the method is called, specify that
they want
a Long type returned when the batch is eventually run.
That's more reliable and simpler than doing the introspection. Less prone to
problems
with multiple definitions of the same overloaded method which we've seen in
previous
bugs.
However, as I said, I prefer the uber-simple approach of just letting the
parser for
each return type figure out what the return type should be.
Original comment by david.j....@googlemail.com
on 13 Jan 2009 at 12:31
I've checked in my proposed changes on the composition branch.
Original comment by david.j....@googlemail.com
on 14 Jan 2009 at 9:20
i like the uber-simple approach as well, at least for this case. that will
probably
break people's code.. :( probably not too badly though :)
Original comment by fern...@gmail.com
on 17 Jan 2009 at 6:11
I just had to introduce a 2 line hack for the Jaxb client (marked as TODO:
Issue 156
with some description). This hack can be removed if / when I make the same sort
of
changes that I've made to the composition branch into the trunk.
Original comment by david.j....@googlemail.com
on 1 May 2009 at 6:59
This is now in trunk since we made the "composition" branch the main
development
version.
Original comment by david.j....@googlemail.com
on 13 Jan 2010 at 8:57
Original issue reported on code.google.com by
david.j....@googlemail.com
on 13 Jan 2009 at 12:22