cueglow / glowdtf

Tech Demo for Controlling GDTF Lights over Art-Net
MIT License
8 stars 0 forks source link

Move ArtNetAddress/DmxAddress to Throwing Constructor #41

Closed Firionus closed 2 years ago

Firionus commented 3 years ago

Currently we validate them in the companion object. But Klaxon needs to access the real constructor, so we should move validation into the constructor. See TODO in code.