kukeiko / entity-space

MIT License
5 stars 1 forks source link

mergeQueries() could merge more #144

Open kukeiko opened 2 years ago

kukeiko commented 2 years ago

given 3 queries A, B & C:

merge(A, C) might now be mergeable with merge(A, B) - which is something that is not currently detected and done. as a workaround, to have the products example working, the workspace merges queries twice after adding a newly executed query into the cache.

example:

after first run, we currently get:

but should instead get:

kukeiko commented 2 years ago

I think the same issue can happen when merging two or-criteria

kukeiko commented 1 year ago

Pretty sure this got closed by accident, reopening