Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion packages/foundation/core/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
"dist"
],
"references": [
{ "path": "../types" }
{ "path": "../types" },
{ "path": "../plugin-validator" },
{ "path": "../plugin-formula" }
]
}
1 change: 1 addition & 0 deletions packages/tools/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"dependencies": {
"@objectql/types": "workspace:*",
"@objectql/core": "workspace:*",
"@objectql/plugin-validator": "workspace:*",
"@objectql/server": "workspace:*",
"@objectql/driver-sql": "workspace:*",
"@objectql/platform-node": "workspace:*",
Expand Down
3 changes: 2 additions & 1 deletion packages/tools/cli/src/commands/ai.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ import * as yaml from 'js-yaml';
import * as readline from 'readline';
import chalk from 'chalk';
import OpenAI from 'openai';
import { Validator, ObjectQLAgent } from '@objectql/core';
import { ObjectQLAgent } from '@objectql/core';
import { Validator } from '@objectql/plugin-validator';
Copy link

Copilot AI Jan 29, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This updates the CLI to import Validator from @objectql/plugin-validator, but there is still at least one repo import that uses Validator from @objectql/core (e.g. packages/foundation/platform-node/test/validation.test.ts). With the current @objectql/core exports, that import will fail and break the Jest project tests. Update the remaining import(s) to @objectql/plugin-validator and add the dependency in the consuming package as needed.

Suggested change
import { Validator } from '@objectql/plugin-validator';

Copilot uses AI. Check for mistakes.
import { glob } from 'fast-glob';

/**
Expand Down
1 change: 1 addition & 0 deletions packages/tools/cli/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"include": ["src"],
"references": [
{ "path": "../../foundation/types" },
{ "path": "../../foundation/plugin-validator" },
{ "path": "../../foundation/core" },
{ "path": "../../runtime/server" },
{ "path": "../../foundation/platform-node" },
Expand Down
Loading
Loading