We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f162fbb commit 2d0b324Copy full SHA for 2d0b324
src/sharedMethods.js
@@ -3,6 +3,7 @@ export default {
3
const record = this.schema.db.factory.newRecordModel("*", this)
4
const result = this.state.ids.find((id, i) => {
5
record._id = id
6
+ record._fields = {}
7
return predicate.call(context, record, i)
8
})
9
@@ -15,6 +16,7 @@ export default {
15
16
17
return this.state.ids.reduce((acc, id, i) => {
18
dummyRecord._id = id
19
+ dummyRecord._fields = {}
20
if (predicate.call(context, dummyRecord, i)) {
21
acc.push(factory.newRecordModel(id, this))
22
}
0 commit comments