strangemonad / runway

Domain models and their values
1 stars 0 forks source link

Explore language dependant transclusions (within bounded contexts) #17

Open strangemonad opened 6 years ago

strangemonad commented 6 years ago

E.g. when defining a domain model / entitity (rather than a primitive value object), what’s the best way to define additional methods.

E.g.

datatype MyModel 
// ...
open java class in
// java method defs here...
end

open swift struct in
// swift functions here...
end