← Back to team overview

launchpad-dev team mailing list archive

Re: API issue moving branches

 

On Sat, 08 May 2010 18:07:59 Francis J. Lacoste wrote:
> I agree with you that setTarget is a mutator and should be exposed as such.
> 
> But I'd argue, it should be the mutator of a field named target. Fields
> such a sourcepackage, distribution, product don't need to be exposed. It's
> really an implementation details that leaks the Object-RDBMS mismatch.
> 
> Polymorphism FTW

The reason for this is we can't expose BranchTarget over the API, which we 
would dearly love to do.  There is no URL for a branch target.

Tim



References