toeverything/AFFiNE · error · Error
Unsupported property type
Error message
Unsupported property type
What it means
A provider-resolution guard in the property group-by flow: the property exists and its type was resolved, but no GroupByProvider('property:' + type) is registered in the framework for that type. It fires when grouping by a property whose type has no grouping implementation — a gap between schema types and registered group-by providers; the faulting input is the property type derived from params.key.
Source
Thrown at packages/frontend/core/src/modules/collection-rules/impls/group-by/property.ts:35
}
groupBy$(
items$: Observable<Set<string>>,
params: GroupByParams
): Observable<Map<string, Set<string>>> {
const property$ = this.workspacePropertyService.propertyInfo$(params.key);
return property$.pipe(
switchMap(property => {
if (!property) {
throw new Error('Unknown property');
}
const type = property.type;
const provider = this.framework.getOptional(
GroupByProvider('property:' + type)
);
if (!provider) {
throw new Error('Unsupported property type');
}
return provider.groupBy$(items$, params);
})
);
}
}
View on GitHub (pinned to b4c8548c09)
Solutions
- Use a property type supported by group-by.
- Add a group-by implementation for this type.
Defensive patterns
Strategy: type-guard
When it happens
Trigger: Thrown in the group-by property dispatcher when no group-by provider is registered for the property's type.
Common situations: Occurs when grouping by a property type without a registered group-by provider; group by a supported property type instead.
AI-assisted analysis of toeverything/AFFiNE@b4c8548c09 (2026-08-18).
Data as JSON: /api/errors/c9dc13c40310c063.
Report an issue: GitHub.