[GH-ISSUE #19] Reflection on array child missing key property #18

Closed
opened 2026-05-23 08:25:44 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @appy-one on GitHub (Mar 10, 2021).
Original GitHub issue: https://github.com/appy-one/acebase/issues/19

Originally assigned to: @appy-one on GitHub.

Reflection on an Array value's child misses the key property, but it should contain the parent array's index

const info = await db.ref('some/array[2]').reflect('info');
console.log(info.key); // Should be 2, but is undefined
Originally created by @appy-one on GitHub (Mar 10, 2021). Original GitHub issue: https://github.com/appy-one/acebase/issues/19 Originally assigned to: @appy-one on GitHub. Reflection on an Array value's child misses the _key_ property, but it should contain the parent array's _index_ ```js const info = await db.ref('some/array[2]').reflect('info'); console.log(info.key); // Should be 2, but is undefined ```
gitea-mirror 2026-05-23 08:25:44 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@appy-one commented on GitHub (Mar 10, 2021):

Fix published in v1.2.1

<!-- gh-comment-id:795400541 --> @appy-one commented on GitHub (Mar 10, 2021): Fix published in v1.2.1
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/acebase#18
No description provided.