MVCoconut / coconut.data

Observable Data Layer.
The Unlicense
20 stars 8 forks source link

Test data validation #41

Closed kevinresol closed 5 years ago

kevinresol commented 5 years ago

We need proper testing for the validation logic:

Here is one, for 39222268e250462d33eb46f18a944e41fe46547c

package;

class Main implements coconut.data.Model {
    @:constant var data:Data;
    static function main() {}
}

abstract Data(VarChar<255>) {}

typedef VarChar<@:const P> = String;