Open BrieucF opened 1 month ago
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 friend
, such that the interface can access its internals.
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 getSyntax
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 getSyntax
values.
This:
Crashes with
There is a workaround which is to redefine those types in the extensions and use