Skip to content

EntityIterator - no support for missing keys #14

Closed
@Swader

Description

@Swader

When manipulating returned data to, for example, unset some of the entities (due to Search API returning duplicates, for example), the EntityIterator uses next() to advance the cursor by one, but that cursor may not exist due to prior manipulation of the EntityIterator's data. So iterating directly on this changed EI will cause problems.

Solutions:

  • add skipping of non existent cursors or
  • extract data with getData and iterate over that

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions