Skip to content

feat: Add suffix parameter support to ResolveNS method#8

Merged
s97712 merged 1 commit intomainfrom
feature/resolve-ns-suffix-parameter
Sep 14, 2025
Merged

feat: Add suffix parameter support to ResolveNS method#8
s97712 merged 1 commit intomainfrom
feature/resolve-ns-suffix-parameter

Conversation

@s97712
Copy link
Owner

@s97712 s97712 commented Sep 14, 2025

Core Changes:

  • Refactor INSResolver interface: ResolveNS(Type, string suffix)
  • Update DefaultNSResolver: support custom suffix path generation
  • Modify ScriptBridge: add suffix parameter passing
  • Update code generator: Razor(.razor) and Entry(.entry) suffix support
  • Fix dependency injection: delegate type Func<Type,string,string>
  • Complete test coverage: all 32 unit tests passing
  • Update project documentation: add suffix parameter usage guide

Path Generation Rules:

  • Component.razor.ts → /js/Component.razor.js
  • Module.entry.ts → /js/Module.entry.js
  • Utils.ts → /js/Utils.js

Breaking Change: ResolveNS method signature changed, all call sites updated

Core Changes:
- Refactor INSResolver interface: ResolveNS(Type, string suffix)
- Update DefaultNSResolver: support custom suffix path generation
- Modify ScriptBridge: add suffix parameter passing
- Update code generator: Razor(.razor) and Entry(.entry) suffix support
- Fix dependency injection: delegate type Func<Type,string,string>
- Complete test coverage: all 32 unit tests passing
- Update project documentation: add suffix parameter usage guide

Path Generation Rules:
- Component.razor.ts → /js/Component.razor.js
- Module.entry.ts → /js/Module.entry.js
- Utils.ts → /js/Utils.js

Breaking Change: ResolveNS method signature changed, all call sites updated
@s97712 s97712 merged commit ddbab6a into main Sep 14, 2025
10 checks passed
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