Skip to content

config: prefix the remaining configuration types with Htmx - #125

Merged
rameel merged 1 commit into
mainfrom
config/rename-unprefixed-types
Nov 2, 2026
Merged

rameel merged 1 commit into
mainfrom
config/rename-unprefixed-types

Conversation

@rameel

@rameel rameel commented Nov 2, 2026

Copy link
Copy Markdown
Owner

HttpVerb and ResponseHandlingConfig were the only public configuration types without the prefix. Rename them:

  • HttpVerb to HtmxHttpVerb
  • ResponseHandlingConfig to HtmxResponseHandlingOptions

Use Options rather than Config for the last one: it follows HtmxLocationOptions, and the type does not derive from HtmxConfig like HtmxV2Config and the others do.

HttpVerb and ResponseHandlingConfig were the only public configuration
types without the prefix. Rename them, and the converter for HttpVerb:

- HttpVerb to HtmxHttpVerb
- ResponseHandlingConfig to HtmxResponseHandlingOptions

Use Options rather than Config for the last one: it follows
HtmxLocationOptions, and the type does not derive from HtmxConfig like
HtmxV2Config and the others do.
@rameel
rameel merged commit eb27e6b into main Nov 2, 2026
1 check passed
@rameel
rameel deleted the config/rename-unprefixed-types branch November 2, 2026 19:41
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