proofit404 / stories

Service objects designed with OOP in mind.
https://proofit404.github.io/stories/
BSD 2-Clause "Simplified" License
297 stars 21 forks source link

Only State subclasses are allowed to join the union. #692

Closed proofit404 closed 1 year ago

proofit404 commented 3 years ago

Different types are forbidden.

A1State & A2State & None # error

Plain state is also forbidden.

A1State & A2State & State # error - needs a subclass
proofit404 commented 1 year ago

Superseded by #722