Skip to content

DRY up Injector common fields and clean up code quality#15

Merged
kenichirow merged 1 commit intomainfrom
feature/dry-injector-common-fields
Feb 18, 2026
Merged

DRY up Injector common fields and clean up code quality#15
kenichirow merged 1 commit intomainfrom
feature/dry-injector-common-fields

Conversation

@kenichirow
Copy link
Owner

Summary

  • DRY up common fields (id, disable, host, method, path, headers, percentage) across all Injector modules via use Faultex.Injector macro
  • Remove dead resp_handler field from ErrorInjector
  • Consolidate redundant ErrorInjector struct clause in Matcher into the existing map clause
  • Improve SlowInjector moduledoc and fix RejectInjector moduledoc capitalization
  • Remove completed TODO items from README

- Remove unused resp_handler from ErrorInjector typespec, defstruct, and Matcher
- Consolidate redundant ErrorInjector struct clause into map clause in Matcher
- Improve SlowInjector moduledoc with passthrough behavior description
- Fix RejectInjector moduledoc capitalization
- Remove completed TODO items from README

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@kenichirow kenichirow merged commit 3d4a404 into main Feb 18, 2026
1 check 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