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

Interceptor for identity resolution when attaching graphs #28246

Merged
merged 2 commits into from
Jun 20, 2022

Conversation

ajcvickers
Copy link
Member

@ajcvickers ajcvickers commented Jun 16, 2022

Part of #626
Fixes #20124

This is essentially a call back that happens when an instance with the same key as an existing tracked instance is attached. The existing instance is always retained, but the interceptor gets the chance to change property values of the tracked instance. This will typically be used to copy over values from the duplicate instance (i.e. painting from a detached entity) or just skip the duplicate. Interceptor implementations are provided to do these two things.

@ajcvickers ajcvickers requested a review from a team June 16, 2022 12:07
Part of #626
Fixes #20124

This is essentially a call back that happens when an instance withe the same key as an existing tracked instance is attached. The existing instance is always retained, but the interceptor gets the chance to change property values of the tracked instance. This will typically be used to copy over values from the duplicate instance (i.e. painting from a detached entity) or just skip the duplicate. Interceptor implementations are provided to do these two things.
@ajcvickers ajcvickers merged commit e09ad8b into main Jun 20, 2022
@ajcvickers ajcvickers deleted the InfititeImprobability0530 branch June 20, 2022 21:08
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.

Provide a hook for identity resolution
2 participants