Skip to content

Fix: Include child component JavaScript calls in response#774

Open
JohananOppongAmoateng wants to merge 1 commit intodjango-commons:mainfrom
JohananOppongAmoateng:559
Open

Fix: Include child component JavaScript calls in response#774
JohananOppongAmoateng wants to merge 1 commit intodjango-commons:mainfrom
JohananOppongAmoateng:559

Conversation

@JohananOppongAmoateng
Copy link
Contributor

When a parent component calls a child component's method, and that child method uses self.call() to queue JavaScript function calls, those calls were not being included in the response sent to the frontend.

Closes #559

@JohananOppongAmoateng JohananOppongAmoateng marked this pull request as draft February 11, 2026 14:42
@github-actions
Copy link
Contributor

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  src/django_unicorn/components
  unicorn_view.py
  src/django_unicorn/views
  response.py
  tests/views
  test_m2m_overwriting.py 14
  test_unit_views.py
  tests/views/message
  test_calls.py
Project Total  

This report was generated by python-coverage-comment-action

@JohananOppongAmoateng JohananOppongAmoateng marked this pull request as ready for review February 11, 2026 18:51
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.

when calling a child from the parent the self.call method does not work

1 participant