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

Access parent record on child actions #3165

Open
Paul-Bob opened this issue Aug 21, 2024 · 1 comment
Open

Access parent record on child actions #3165

Paul-Bob opened this issue Aug 21, 2024 · 1 comment

Comments

@Paul-Bob
Copy link
Contributor

Context

2024-08-21_12-50

When running an action on an association there is no straightforward way to access the parent record.

Workaround

Passing parent record as argument as explained in detail here #3159 (comment)

Demo commit: b55d4e4

Approach

  • Document the workaround
    OR
  • Implement a way to access the parent record on actions def fields and def handle methods.
Copy link
Contributor

github-actions bot commented Sep 8, 2024

This issue has been marked as stale because there was no activity for the past 15 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Triage
Development

No branches or pull requests

1 participant