Open emil14 opened 6 months ago
It's possible to pass deps with incompatible interface
This one is incredibly important note
We must implement interface sub-typing in a structural way the same way Go does (and the same way Nevalang implements data-types subtyping)
What I mean is that if interface IFoo
has 1 outport (bar any)
and your Foo
has (bar any, baz Whatever)
then your Foo implements IFoo
This is very important to make bridges, streamers and other adapters/decorators work throughout the language