schema compiler: example of how migrating tests to new compiler will look.
This'll probably be a lot of grind to refactor, but otherwise isn't a huge jump semantically. I waffled on sprinting straight ahead to writing schema DMT as JSON, and using those as the test fixture input. On the one hand: it would be nice to get that much closer to purely textual test fixtures. On the other hand, it's really verbose, and I don't want to (long run, we'll use schema DSL for this, and while we'll also save the DMT fixtures, they should ideally probably mostly be generated and just human-checked rather than human-penned); and also, since we don't have implicits implemented correctly yet, we'd need to update all that JSON again anyway once that feature is complete... which pushes it overall to a net "nah".
Showing
Please register or sign in to comment