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

[FEATURE] add context mapping populator #47

Merged
merged 8 commits into from
Aug 10, 2023

Conversation

storbahn
Copy link
Contributor

In addition to the PropertyMappingPopulator I would like to offer a ContextMappingPopulator which populate context properties.

@mike4git mike4git merged commit c736c4f into main Aug 10, 2023
4 checks passed
@mike4git mike4git deleted the feature/context-mapping-populator branch August 10, 2023 11:04
@mike4git mike4git mentioned this pull request Aug 10, 2023
$container->register($propertyContextPopulatorId, ContextMappingPopulator::class)
->setArguments([
'$targetProperty' => $targetProperty,
'$sourceProperty' => $sourceProperty ?? $targetProperty,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The parameter is named $contextProperty. I fixed it in #48.

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.

None yet

3 participants