Skip to content
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.

Commit

Permalink
Update ReadMe
Browse files Browse the repository at this point in the history
  • Loading branch information
onechiporenko committed Apr 10, 2019
1 parent 5073f66 commit 3afc59f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,10 @@ lair.registerFactory(Factory.create({
console.log(this.extraData); // <--- check this out
},
},
afterCreate(record, extraData) {
console.warn(extraData); // <--- check this out
return record;
}
}));

lair.createRecords('parent', 1);
Expand Down

0 comments on commit 3afc59f

Please sign in to comment.