Migrate driver-fs, driver-localstorage, and driver-excel to v4.0.0#171
Merged
xuyushun441-sys merged 5 commits intomainfrom Jan 23, 2026
Merged
Migrate driver-fs, driver-localstorage, and driver-excel to v4.0.0#171xuyushun441-sys merged 5 commits intomainfrom
xuyushun441-sys merged 5 commits intomainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: xuyushun441-sys <255036401+xuyushun441-sys@users.noreply.github.com>
| test('should execute bulkDelete command', async () => { | ||
| const user1 = await driver.create('users', { name: 'Alice' }); | ||
| const user2 = await driver.create('users', { name: 'Bob' }); | ||
| const user3 = await driver.create('users', { name: 'Charlie' }); |
Co-authored-by: xuyushun441-sys <255036401+xuyushun441-sys@users.noreply.github.com>
| it('should execute bulkDelete command', async () => { | ||
| const user1 = await driver.create('users', { name: 'Alice' }); | ||
| const user2 = await driver.create('users', { name: 'Bob' }); | ||
| const user3 = await driver.create('users', { name: 'Charlie' }); |
Co-authored-by: xuyushun441-sys <255036401+xuyushun441-sys@users.noreply.github.com>
Co-authored-by: xuyushun441-sys <255036401+xuyushun441-sys@users.noreply.github.com>
| it('should execute bulkDelete command', async () => { | ||
| const user1 = await driver.create(TEST_OBJECT, { name: 'Alice' }); | ||
| const user2 = await driver.create(TEST_OBJECT, { name: 'Bob' }); | ||
| const user3 = await driver.create(TEST_OBJECT, { name: 'Charlie' }); |
Contributor
|
Copilot
AI
changed the title
[WIP] Migrate driver-fs implementation to version 4.0.0
Migrate driver-fs, driver-localstorage, and driver-excel to v4.0.0
Jan 23, 2026
Contributor
|
@copilot Fix ci test and test again |
Copilot stopped work on behalf of
xuyushun441-sys due to an error
January 23, 2026 11:02
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Migrates three drivers to DriverInterface v4.0 spec, bringing ecosystem compliance to 87.5% (7/8 drivers). Each driver now supports QueryAST-based queries and unified command execution while maintaining full backward compatibility.
Changes
@objectql/driver-fs
executeQuery(ast: QueryAST)andexecuteCommand(command: Command)methodsconvertFilterNodeToLegacy()@objectstack/spec ^0.2.0@objectql/driver-localstorage
executeQuery(ast: QueryAST)andexecuteCommand(command: Command)methodsconvertFilterNodeToLegacy()@objectstack/spec ^0.2.0@objectql/driver-excel
executeQuery(ast: QueryAST)andexecuteCommand(command: Command)methodsconvertFilterNodeToLegacy()@objectstack/spec ^0.2.0Documentation
DRIVER_COMPLIANCE_MATRIX.mdto reflect 87.5% complianceUsage
Implementation Pattern
Each driver follows the established migration pattern:
executeQuery()converts QueryAST to legacy query format, delegates to existingfind()executeCommand()provides unified interface for create/update/delete/bulk operationsconvertFilterNodeToLegacy()handles AND/OR/comparison node conversionexecute()throws descriptive error directing toexecuteCommand()Impact
Driverand newDriverInterfaceOriginal prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.