In the case under consideration the only satisfactory relief is something in the nature of specific performance. The basis for equity jurisdiction is the same as in other cases of specific performance. There is a valid contract, and the remedy at law for its enforcement is inadequate. As the promisee and the beneficiary have both an interest in the performance of the promise, either should be allowed to bring suit joining the other as co-defendant with the promisor. In this way all parties have a chance to be heard. There may always be a possible question as to the respective rights of the promisee and the beneficiary, and also whether the promisor has a valid a charterer of a ship who does not own the cargo can recover no damages for the owner's breach of warranty in regard to the Teasel. The Ask, 156
Fed. 678; The Habil, 100 Fed. 120. 29Cleaver v. Mut. Reserve Fund Life Assoc.,  1 Q. B. 147, 152.