On 19 March 2015 at 15:48, Nate Finch <nate.fi...@canonical.com> wrote: > Wayne and I (and Horacio for some of the time) wasted a few days trying to > figure out a problem with the watcher we'd created. Turns out, the problem > was a missing 's': > https://github.com/natefinch/juju/commit/12ad8d64f26aca5541bbd0f0c10cd8b45bcbcc75 > > Thanks to Dimiter and John Weldon for catching it last night. > > The reason the code still compiled is because all the facade caller (rpc) > stuff uses empty interfaces and reflection to do > serialization/deserialization. This is, at some level, unavoidable.
It's actually not unavoidable. We could automatically generate client-side code that calls the API. I actually did that once for the Juju API - it wasn't much work, although the resulting client-side API wasn't nearly so pretty. cheers, rog. -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev