diff --git a/addon/-private/system/references/record.ts b/addon/-private/system/references/record.ts index daaac916018..51b599825db 100644 --- a/addon/-private/system/references/record.ts +++ b/addon/-private/system/references/record.ts @@ -74,7 +74,13 @@ export default class RecordReference extends Reference { let userRef = store.getReference('user', 1); // provide data for reference - userRef.push({ data: { id: 1, username: "@user" }}).then(function(user) { + userRef.push({ + data: { + id: "1", + type: "user", + username: "@user" + } + }).then(function(user) { userRef.value() === user; }); ```