enisdenjo / graphql-composite

MIT License
5 stars 0 forks source link

bug: fails to populate array within an array #45

Closed kamilkisiela closed 2 months ago

kamilkisiela commented 3 months ago

The valBeforeLast is undefined for deeply nested paths.

See child-type-mismatch test. The paths are missing an property with an index number from the inner (second) array.

Got
  accounts.0.similarAccounts.similarAccounts.name
Expected
  accounts.0.similarAccounts.[0|1].similarAccounts.name