pr-1-feedback #2

Merged
lentil merged 10 commits from pr-1-feedback into main 2025-06-15 14:26:31 -05:00
Showing only changes of commit 91514289ae - Show all commits

View File

@ -124,12 +124,12 @@ export class QueryEngine {
const entity = this.lossless.domainEntities.get(entityId); const entity = this.lossless.domainEntities.get(entityId);
if (!entity) continue; if (!entity) continue;
// Check if entity has deltas for any required property // Check if entity has deltas for all required property
const hasRequiredProperty = requiredProperties.some(propertyId => const hasRequiredProperties = requiredProperties.every(propertyId =>
entity.properties.has(propertyId) entity.properties.has(propertyId)
); );
if (hasRequiredProperty) { if (hasRequiredProperties) {
candidateEntities.push(entityId); candidateEntities.push(entityId);
} }
} }