Skip to content

Improve type hints of MultiTenantConfiguration tenantToConnectionMapping#651

Merged
dgafka merged 2 commits intoecotoneframework:mainfrom
tandev:multi-tenant-connection-mapping-type-hint
Apr 4, 2026
Merged

Improve type hints of MultiTenantConfiguration tenantToConnectionMapping#651
dgafka merged 2 commits intoecotoneframework:mainfrom
tandev:multi-tenant-connection-mapping-type-hint

Conversation

@tandev
Copy link
Copy Markdown
Contributor

@tandev tandev commented Mar 31, 2026

Why is this change proposed?

\Ecotone\Dbal\MultiTenant\MultiTenantConfiguration::__construct(tenantToConnectionMapping) accepts
array<string, string|ConnectionReference>, the create methods should to.

Description of Changes

Adds ConnectionReference to allowed typed in tenantToConnectionMapping array

Pull Request Contribution Terms

  • I have read and agree to the contribution terms outlined in CONTRIBUTING.

@dgafka dgafka merged commit aa00d0f into ecotoneframework:main Apr 4, 2026
7 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.

2 participants