Page 1 of 1

Extracting changes to interfaces

Posted: Thu Mar 02, 2017 4:26 pm
by mike.day
Every time I add a new method to an existing interface, the implemented classes also need to be extracted. It would be good when extracting the interface from a schema extract, that the methods on the implemented classes were also included. Is there currently an alternative?

Re: Extracting changes to interfaces

Posted: Fri Mar 03, 2017 7:55 am
by BeeJay
I'm not aware of any alternatives. It also gets more complicated because the implementor(s) could be in a subSchema or, for an interface included in a package, in a completely unrelated schema to the schema where the interface is defined.

Cheers,
BeeJay.

Re: Extracting changes to interfaces

Posted: Fri Mar 03, 2017 9:23 am
by mike.day
Maybe their should be an option on the schema extract to select and extract the interface methods on each implemented class. This could be done for each schema that the interface is imported or inherited on.
I just don't like having to extract the whole class each time I add a new method to an interface. Especially if it's only for a hotfix.

Re: Extracting changes to interfaces

Posted: Mon May 21, 2018 8:43 am
by mike.day
Doing a changes extract, extracts just the new method and implementations. This saves having to extract each class that the method is implemented on.