Skip to content

config: make the version configuration constructors internal - #128

Merged
rameel merged 1 commit into
mainfrom
config/internal-config-constructors
Nov 2, 2026
Merged

rameel merged 1 commit into
mainfrom
config/internal-config-constructors

Conversation

@rameel

@rameel rameel commented Nov 2, 2026

Copy link
Copy Markdown
Owner

HtmxV1Config, HtmxV2Config, and HtmxV4Config had public constructors, but nothing accepts an instance created by hand:
HtmxToolkitOptions creates the configuration and passes it to the UseHtmx* delegates.

HtmxV1Config, HtmxV2Config, and HtmxV4Config had public constructors,
but nothing accepts an instance created by hand: HtmxToolkitOptions
creates the configuration and passes it to the UseHtmx* delegates.

Making a constructor public later is not a breaking change, while the
reverse is, so keep them internal, as HtmxResponse already does.
@rameel
rameel merged commit e0d362a into main Nov 2, 2026
1 check passed
@rameel
rameel deleted the config/internal-config-constructors branch November 2, 2026 20:43
@rameel
rameel restored the config/internal-config-constructors branch November 2, 2026 20:53
@rameel
rameel deleted the config/internal-config-constructors branch November 2, 2026 22:20
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