Fix: use 'isCounted' instead of 'doCount', add check for this

This commit is contained in:
Pieter Vander Vennet 2024-09-19 17:29:55 +02:00
parent a6598fd52d
commit 3a8fc4248b
6 changed files with 17 additions and 10 deletions

View file

@ -88,6 +88,10 @@ export class PrevalidateLayer extends DesugaringStep<LayerConfigJson> {
}
}
if(json["doCount"] !== undefined){
context.err("Detected 'doCount'. did you mean: isCounted ?")
}
if (
json.syncSelection !== undefined &&
LayerConfig.syncSelectionAllowed.indexOf(json.syncSelection) < 0