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

[Help Needed] Support call forwarding to a provided instance for types it has in common with the substitute. #840

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rbeurskens
Copy link

@rbeurskens rbeurskens commented Nov 5, 2024

This should allow creation of substitute, providing an instance where the substitute will forward all calls to the implemented type(s) members that are also implemented by the type of the provided object.

@rbeurskens rbeurskens changed the title Call forwarding to provided instance for types it has in common with the proxy type. Support call forwarding to provided instance for types it has in common with the proxy type. Nov 5, 2024
@rbeurskens rbeurskens changed the title Support call forwarding to provided instance for types it has in common with the proxy type. Support call forwarding to a provided instance for types it has in common with the substitute. Nov 5, 2024
@dtchepak dtchepak requested a review from Romfos November 10, 2024 03:01
@rbeurskens rbeurskens changed the title Support call forwarding to a provided instance for types it has in common with the substitute. [Help Needed] Support call forwarding to a provided instance for types it has in common with the substitute. Dec 12, 2024
@rbeurskens rbeurskens force-pushed the partial_call_forwarding branch from 2aef4de to bf120c8 Compare December 12, 2024 11:22
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.

1 participant