mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 13:10:44 +00:00
fixing returned records from memory store to be clones
This commit is contained in:
@ -173,8 +173,9 @@ public class MemoryRecordStore
|
||||
//////////////////////////////////////////////////////////////////////////////////
|
||||
// make sure we're not giving back records that are all full of associations... //
|
||||
//////////////////////////////////////////////////////////////////////////////////
|
||||
qRecord.setAssociatedRecords(new HashMap<>());
|
||||
records.add(qRecord);
|
||||
QRecord recordToReturn = new QRecord(qRecord);
|
||||
recordToReturn.setAssociatedRecords(new HashMap<>());
|
||||
records.add(recordToReturn);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user