alfateam/orange-orm

[BUG]: Adding hasOne row to existing parent throws

lroal opened this issue · 0 comments

rdb Version

3.10.0

Database

None

Database Version

No response

Operating System

No response

Description

Throws deliveryAddress was not found

		const row = await db.order.insert({orderDate: date1}, {deliveryAddress: true});
		row.deliveryAddress = {
			name: 'bar',
			street: 'Node street 2',
		};
		await row.saveChanges({});

Expected Behavior

No response