Skip to content
This repository was archived by the owner on Oct 11, 2025. It is now read-only.
This repository was archived by the owner on Oct 11, 2025. It is now read-only.

multiple filters on single kind create multiple index entries #108

@NickFranceschina

Description

@NickFranceschina

see my comment here (not sure if it would be seen, so posting an issue):

3bcd874#commitcomment-20242630

because this .Get happens inside of the for loop over the filters... if I have multiple filters, then the SDK ends up generating multiple indexes, each one with progressively more properties

for example... if I had filters=[('one', '=', 'a'), ('two', '=', 'b'), ('three', '=', 3)] ... then after this loop completes, the SDK has created all of these in my index.yaml:

- kind: MyModel
  properties:
  - name: one
  - name: __scatter__

- kind: MyModel
  properties:
  - name: one
  - name: two
  - name: __scatter__

- kind: MyModel
  properties:
  - name: one
  - name: two
  - name: three
  - name: __scatter__

is this expected behavior?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions