Skip to content

Conversation

@matbour
Copy link
Contributor

@matbour matbour commented Aug 6, 2024

Summary

This PR exposes the NodeClickHouseClient and WebClickHouseClient as values from their respective packages @clickhouse/client and @clickhouse/client-web. This will allow better integrations with dependency injection frameworks like Nest.js or tsyringe. More details are available on #292.

This PR closes #292.

Checklist

Delete items not relevant to your PR:

  • A human-readable description of the changes was provided to include in CHANGELOG

@maintainers: I added a CHANGELOG entry but I am a bit unsure of the version + the CHANGELOG message. Feel free to change the version number or the message if necessary.

@CLAassistant
Copy link

CLAassistant commented Aug 6, 2024

CLA assistant check
All committers have signed the CLA.

@matbour matbour changed the title Export client as value Export NodeClickHouseClient and WebClickHouseClient as value Aug 6, 2024
@slvrtrn
Copy link
Contributor

slvrtrn commented Aug 7, 2024

Thanks. I will update the CHANGELOG and the version and release it shortly with another small fix.

@slvrtrn slvrtrn merged commit 899b34a into ClickHouse:main Aug 7, 2024
@slvrtrn
Copy link
Contributor

slvrtrn commented Aug 7, 2024

@mathieu-bour, released as 1.4.1.

@matbour matbour deleted the export-client-as-value branch August 8, 2024 22:21
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.

Export NodeClickHouseClient as value from client-node for verbatimModuleSyntax=true environments

3 participants