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

improvement: Set Ash actor and tenant when executing internal plugs. #115

Merged
merged 1 commit into from
Jan 9, 2023

Conversation

jimsynz
Copy link
Collaborator

@jimsynz jimsynz commented Jan 9, 2023

Closes #114.

@zachdaniel
Copy link
Collaborator

I don't think its a good idea to use the context based approach to setting actor/tenant really. I advise against it in the docs generally, and things can get weird (i.e if somehow code happens in a different process, the actor isn't automatically carried over)

@jimsynz
Copy link
Collaborator Author

jimsynz commented Jan 9, 2023

I don't think its a good idea to use the context based approach to setting actor/tenant really. I advise against it in the docs generally, and things can get weird (i.e if somehow code happens in a different process, the actor isn't automatically carried over)

Okie dokie. I'll do the slightly more longwinded method.

@jimsynz jimsynz force-pushed the improvement/use-actor-tenant-in-conn branch from 8c9f27f to 3c2c957 Compare January 9, 2023 03:23
@jimsynz
Copy link
Collaborator Author

jimsynz commented Jan 9, 2023

@zachdaniel updated.

@jimsynz jimsynz merged commit 34b9d94 into main Jan 9, 2023
@jimsynz jimsynz deleted the improvement/use-actor-tenant-in-conn branch January 9, 2023 03:30
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.

Strategy plugs need to honour the actor and tenant when calling actions.
2 participants