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

Wrong default parameter value for Actor methods' #2453

Closed
codemedic opened this issue Oct 16, 2015 · 0 comments
Closed

Wrong default parameter value for Actor methods' #2453

codemedic opened this issue Oct 16, 2015 · 0 comments

Comments

@codemedic
Copy link
Contributor

@codemedic codemedic commented Oct 16, 2015

Irrespective of what is defined in the module from which these methods are derived, the value assumed in the parameter lost of those grafted methods always assume null.
Going a little further with the reflection based grafting that occurs during the build step, it is possible to make it better. ( I have a working proof of concept ).

@codemedic codemedic changed the title build command assumes wrong default for Actor methods' default parameter value Wrong default parameter value for Actor methods' Oct 16, 2015
codemedic added a commit to redmatter/Codeception that referenced this issue Oct 16, 2015
Added reflection based parameter inspection to derive default values
codemedic added a commit to redmatter/Codeception that referenced this issue Oct 19, 2015
Added reflection based parameter inspection to derive default values
codemedic added a commit to redmatter/Codeception that referenced this issue Oct 19, 2015
codemedic added a commit to redmatter/Codeception that referenced this issue Oct 21, 2015
…ions can provide Codeception#2453 (v2.1)

Also fixes a bug in the way arrays were exported; string keys and values were not properly encoded.
DavertMik added a commit that referenced this issue Oct 24, 2015
…lue-v2.1

Fixing issue #2453 - Default param is always null
@Naktibalda Naktibalda closed this Oct 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.