Improbable Icon

Schemalang: Inheritance or Interfaces?


Is it possible to create Interfaces of Types in Schemalang? Suppose I want to send some list of IAction types over a component to the UnityWorker, but each IAction type could also be a different type Some specification. Am I thinking about this wrong?


Hi @daniel.petty94, unforunately schemlang does not currently support type inheritance or interfaces.


It would be good if they did. Despite them being essentially data contracts, they’re also function contracts so they involve themselves in business logic - components are more than just message types in that regard so inheritance would make sense.