-
Notifications
You must be signed in to change notification settings - Fork 60
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
Use types of heterogeneous origins in interfaces #611
Comments
I can't reproduce the exact error you see (i.e. missing include). However, there is indeed a somewhat conceptual issue here. The main issue is that types that are used in interface declare that interface as Since we can't change the headers of the upstream models, we will have to find another solution to this. |
I think it would be another problem if a model and upstream used different |
That is true. However, I would say that that is something that needs to be documented, and I think that it would be a very niche use case to mix datamodels with different |
Did I miss something or the interfaces need access to object internals only for |
At least initially, they also needed it for |
Thanks, I'll take a look and maybe propose something |
This:
Crashes with
There is a workaround which is to redefine those types in the extensions and use
The text was updated successfully, but these errors were encountered: