Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide old tenant in switched event #263

Merged
merged 1 commit into from
Sep 8, 2022
Merged

Conversation

Tofandel
Copy link
Contributor

@Tofandel Tofandel commented Sep 2, 2022

It's quite a useful information to have in the switched event (if we need to unregister some stuff the previous tenant registered)

Without it we need to statically cache this information in any class that needs it

@codecov
Copy link

codecov bot commented Sep 7, 2022

Codecov Report

Merging #263 (de567fa) into 2.x (cc28dd8) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##                2.x     #263   +/-   ##
=========================================
  Coverage     98.96%   98.97%           
  Complexity      290      290           
=========================================
  Files            98       98           
  Lines           776      777    +1     
=========================================
+ Hits            768      769    +1     
  Misses            8        8           

Copy link
Contributor

@luceos luceos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes sense to add, can you finish up the test so that we can run those once more?

@luceos luceos added the type:enhancement New feature or request label Sep 7, 2022
@luceos luceos merged commit 4d06a38 into tenancy:2.x Sep 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants