Skip to content

Add MyBatis mapper XML support#242

Open
15290391025 wants to merge 1 commit into
colbymchenry:mainfrom
15290391025:add-mybatis-mapper-xml-support
Open

Add MyBatis mapper XML support#242
15290391025 wants to merge 1 commit into
colbymchenry:mainfrom
15290391025:add-mybatis-mapper-xml-support

Conversation

@15290391025
Copy link
Copy Markdown

Summary

  • index MyBatis *Mapper.xml files and extract <select|insert|update|delete id="..."> statements as Java method-like nodes
  • emit Java mapper interface references that resolve to namespace.id XML statements
  • allow multi-part qualified references through the resolver pre-filter

Validation

  • npx tsc --noEmit
  • npm run build
  • npx vitest run __tests__/extraction.test.ts __tests__/resolution.test.ts --testNamePattern "MyBatis|mapper interface methods"

Note

Full __tests__/extraction.test.ts OOMs in my local Windows/Vitest worker after many existing grammar-heavy tests; the focused MyBatis tests and build pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant