Skip to content

[4.x] Add Tenancy::reinitialize() method#1449

Open
stancl wants to merge 1 commit intomasterfrom
push-nxxkkynrkonp
Open

[4.x] Add Tenancy::reinitialize() method#1449
stancl wants to merge 1 commit intomasterfrom
push-nxxkkynrkonp

Conversation

@stancl
Copy link
Copy Markdown
Member

@stancl stancl commented Apr 3, 2026

Some bootstrappers read attributes of the tenant during bootstrap() but don't respond to changes made to the tenant afterwards.

Therefore, when making changes to the tenant that'd affect the behavior of a bootstrapper, it's necessary to reinitialize tenancy (if it matters that changes are reflected immediately). This adds a convenience helper for that purpose.

@stancl stancl force-pushed the push-nxxkkynrkonp branch from deb993f to 51ac200 Compare April 3, 2026 08:57
Some bootstrappers read attributes of the tenant during bootstrap()
but don't respond to changes made to the tenant afterwards.

Therefore, when making changes to the tenant that'd affect the behavior
of a bootstrapper, it's necessary to reinitialize tenancy (if it matters
that changes are reflected immediately). This adds a convenience helper
for that purpose.
@stancl stancl force-pushed the push-nxxkkynrkonp branch from 51ac200 to d8c7153 Compare April 3, 2026 08:58
@stancl stancl changed the title Add Tenancy::reinitialize() method [4.x] Add Tenancy::reinitialize() method Apr 3, 2026
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