A contract, conveyance, release, or sale may be made to or by two or more persons acting jointly, and one or more, but less than all, of these persons, acting either by himself or themselves or with other persons.
No contract shall be discharged because after its formation the obligation and the right under the contract become vested in the same person acting in different capacities as to the right and the obligation.