feat: suport mockserver file as database and add dsl-genenrator skill#1792
Open
hexqi wants to merge 9 commits intoopentiny:feat/dsl-generator-skillfrom
Open
feat: suport mockserver file as database and add dsl-genenrator skill#1792hexqi wants to merge 9 commits intoopentiny:feat/dsl-generator-skillfrom
hexqi wants to merge 9 commits intoopentiny:feat/dsl-generator-skillfrom
Conversation
… mockserver create page error
This commit fixes 4 critical issues identified in commit 6acc71e: 1. [P0] ESM/CJS interop crash - Convert StoreAdapter.js from ES6 export to CommonJS - Convert NedbStore.js from ES6 imports/exports to CommonJS - Fixes startup crash caused by module format mismatch 2. [P0] StoreFactory constructor arguments - Pass config.fileDbPath to FileStore constructor - Pass filename in options object to NedbStore constructor - Import getDatabasePath utility 3. [P0] NedbStore double $set wrapping - Remove extra $set wrapping in update method - Pass update operators directly to NeDB 4. [P1] Unique constraint configuration - Align on 'indexes' array format across all stores - Extract unique fields from indexes in FileStore - Process indexes array directly in NedbStore All fixes verified with startup test.
…add initial mock data.
Contributor
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review (3)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
English | 简体中文
PR
使用方式:项目根目录执行 pnpm dev:file
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
Background and solution
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information