Skip to content

Commit ebdb6f2

Browse files
Address code review: fix import formatting, improve type safety, restore hook
Co-authored-by: RubenEschauzier <61841193+RubenEschauzier@users.noreply.github.com>
1 parent 75b88e2 commit ebdb6f2

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# Hook disabled for CI
1+
# disabled

packages/actor-query-operation-hinted-group/lib/ActorQueryOperationHintedGroup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export class ActorQueryOperationHintedGroup extends ActorQueryOperationTypedMedi
4343
): Promise<IQueryOperationResult> {
4444
const dataFactory: ComunicaDataFactory = context.getSafe(KeysInitQuery.dataFactory);
4545
const algebraFactory = new AlgebraFactory(dataFactory);
46-
const hintedGroup = <any> operationOriginal;
46+
const hintedGroup = <Algebra.HintedGroup> operationOriginal;
4747
const subOperations: Algebra.Operation[] = hintedGroup.input;
4848

4949
// Execute all sub-operations (including nested hinted-groups, which will recurse)

packages/actor-query-parse-sparql/lib/hintedGroupAlgebra.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
import { HINT_OBJECT, HINT_PREDICATE, HINT_SUBJECT } from
2-
'@comunica/actor-optimize-query-operation-query-hint-join-order-fixed';
1+
import {
2+
HINT_OBJECT,
3+
HINT_PREDICATE,
4+
HINT_SUBJECT,
5+
} from '@comunica/actor-optimize-query-operation-query-hint-join-order-fixed';
36
import { TypesComunica } from '@comunica/utils-algebra';
47
import { toAlgebra12Builder } from '@traqula/algebra-sparql-1-2';
58
import { createAlgebraContext } from '@traqula/algebra-transformations-1-2';

0 commit comments

Comments
 (0)