Skip to content

Commit 1074fbb

Browse files
committed
fix(service-analytics): read declaredFieldType off the dataset-scoped strategy context, as the other strategies do
Claude-Session: https://claude.ai/code/session_01ADHkmNhTaQLPMwKLDKtX46 Co-authored-by: Claude <noreply@anthropic.com>
1 parent cf460c1 commit 1074fbb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/services/service-analytics/src/analytics-service.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5035,7 +5035,7 @@ function assertDelegatedDateBucketsTemporal(query: AnalyticsQuery, ctx: Strategy
50355035
assertDatasetDateBucketsTemporal(
50365036
object,
50375037
aggregateGroupKeys(query, cube),
5038-
(field) => ctx.declaredFieldType?.(object, field),
5038+
(field) => (ctx as DatasetScopedStrategyContext).declaredFieldType?.(object, field),
50395039
);
50405040
}
50415041

0 commit comments

Comments
 (0)