Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Default params now passed to child models. Fixes #57. #58

Merged
merged 1 commit into from
Aug 13, 2018
Merged

Default params now passed to child models. Fixes #57. #58

merged 1 commit into from
Aug 13, 2018

Conversation

samuelnogueira
Copy link
Contributor

@samuelnogueira samuelnogueira commented Jul 30, 2018

Pass default parameters to child view models:

  • Are you fixing a bug?

    • Detail how the bug is invoked currently.
      Detailed in Default parameters not passed to child view models #57
    • Detail the original, incorrect behavior.
      Detailed in Default parameters not passed to child view models #57
    • Detail the new, expected behavior.
      Default parameters for the child template and all templates are passed to child view model
    • Add a regression test that demonstrates the bug, and proves the fix.
      See \ZendTest\Expressive\ZendView\ZendViewRendererTest::testRenderChildWithDefaultParameter
    • Add a CHANGELOG.md entry for the fix.
      (should I?)
  • Is this related to quality assurance?
    I think not.

  • Is this related to documentation?
    No.

@weierophinney weierophinney merged commit 978af90 into zendframework:master Aug 13, 2018
weierophinney added a commit that referenced this pull request Aug 13, 2018
Also sets date for 2.0.1 release.
weierophinney added a commit that referenced this pull request Aug 13, 2018
weierophinney added a commit that referenced this pull request Aug 13, 2018
Forward port #58

Conflicts:
	CHANGELOG.md
@weierophinney
Copy link
Member

Thanks, @samuelnogueira!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants