Skip to content

Conversation

@manodasanW
Copy link
Member

The ABI interfaces in authoring scenarios were previously implementing the ABI impl interfaces. This means that IDIC casts cannot be done in cross process scenarios of authored types given the IDIC interface doesn't implement the projected interface being used in the cast. This addresses it by having the ABI interfaces implement the projected interfaces in authoring scenarios. This is similar to non-authoring scenarios. The only special case is exclusive interfaces which have no projected interface and will continue to implement the ABI impl interface.

Copy link
Member

@Sergio0694 Sergio0694 left a comment

Choose a reason for hiding this comment

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

Just curious, any particular reason why we're changing the ABI interface to inherit from the projected interface and not the ABI impl interface, rather than just adding the projected interface too when available, and having the ABI interface just implement both? Is that because it'd just not really be useful, and then we'd need to have a DIM for interface methods twice, once per base interface? 🤔

@manodasanW
Copy link
Member Author

Just curious, any particular reason why we're changing the ABI interface to inherit from the projected interface and not the ABI impl interface, rather than just adding the projected interface too when available, and having the ABI interface just implement both? Is that because it'd just not really be useful, and then we'd need to have a DIM for interface methods twice, once per base interface? 🤔

I have been slowly reducing what we need from the impl namespace types over time and this just fits in with that. It will allow for more trimming of those interfaces especially when implementing those interfaces as DIM doesn't seem to be needed. And I saw no value in implementing both interfaces as DIM. Is there any?

@Sergio0694
Copy link
Member

Yup, no it makes perfect sense to me! Just wanted to make sure I was following, thank you! 🙂

@manodasanW manodasanW merged commit 212c9e7 into master Jan 22, 2025
10 checks passed
@manodasanW manodasanW deleted the manodasanw/fixauthoringabiinterface branch January 22, 2025 09:47
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.

3 participants