Commit graph

33 commits

Author SHA1 Message Date
Simon Brooke 8e63f4b6c9 #7 It works, but it isn't actually useful
The problem is that bouncer doesn't seem really to support the idea that an object may satisfy one of a set of validations, and that's OK; and it doesn't seem to support collecting nested errors through custom validators.

So although this will now tell you *that* an adl structure is invalid, it won't tell you *where* the document is invalid.
2018-03-20 13:22:08 +00:00
Simon Brooke d5d26db037 #7 The good news: it's complete. The bad news: it doesn't yet work. 2018-03-19 18:17:50 +00:00
Simon Brooke db71251a53 #7 Added ADL validator
Doesn't belong here in the long term, see epic #5.
2018-03-19 14:36:05 +00:00
Simon Brooke 955fb20acc Added a first stab at a general text search query 2018-03-17 23:59:09 +00:00
Simon Brooke 05623f0168 Identifying headers added to generated files. 2018-03-17 19:06:02 +00:00
Simon Brooke 0800756288 Now actually working! 2018-03-17 18:26:00 +00:00
Simon Brooke df9d12e572 Added auto-generated files to .gitignore 2018-03-17 15:38:18 +00:00
Simon Brooke d47c03defd Now generating apparently-good but untested route handlers 2018-03-17 15:35:40 +00:00
Simon Brooke 4193d5700b Now generating credible-seeming (but untested) routes file 2018-03-17 15:30:46 +00:00
Simon Brooke c6c7b1c6ea Upversion to 0.1.1-SNAPSHOT 2018-03-16 16:39:11 +00:00
Simon Brooke a43e10c49b Merge branch 'release/0.1.1' 2018-03-16 16:37:12 +00:00
Simon Brooke 4bc0af6520 Merge branch 'release/0.1.1' into develop 2018-03-16 16:37:12 +00:00
Simon Brooke 8f84b14e01 Upversioned to 0.1.1 2018-03-16 16:37:01 +00:00
Simon Brooke 63a2d0f9a9 A sort of alpha release 2018-03-16 16:35:35 +00:00
Simon Brooke f22781edf3 Now generating useful hugsql queries for link tables. 2018-03-16 16:21:29 +00:00
Simon Brooke 80940dab06 Moved utility fns into utils; fixed resolving links. 2018-03-16 12:53:55 +00:00
Simon Brooke 8acfc0038d Minor improvements to generated HugSQL queries. 2018-03-13 18:48:16 +00:00
Simon Brooke fdef14c0f5 Added a fairly simple-minded HugSQL query file generator 2018-03-12 18:41:27 +00:00
Simon Brooke 8af1ceaa38 This doesn't work, but it's in the right direction 2018-03-07 13:46:55 +00:00
Simon Brooke 0be87038f0 A wee bit of clean-up 2018-03-03 15:00:21 +00:00
Simon Brooke 8e92e9438d Added a more useful README, and some example code. 2018-03-03 14:47:14 +00:00
Simon Brooke 0db29228cc Once again generating ADL, and the structure is still better. 2018-03-02 18:51:14 +00:00
Simon Brooke b486ac49e5 No longer actually generates XML, but structure is more usable 2018-03-02 15:37:55 +00:00
Simon Brooke 126402212d (stretch goal) now parses the whole of the SceneHere database structure. 2018-02-19 16:42:21 +00:00
Simon Brooke 5bb61664a7 Substantially extended the SQL subset parsed. 2018-02-15 19:05:34 +00:00
Simon Brooke 1b990183b3 Greatly improved the simplifier.
What comes out of the parser now contains very little which is redundent.
2018-02-15 18:20:57 +00:00
Simon Brooke 53aa0379ab Now printing ADL to file. 2018-02-14 18:54:42 +00:00
Simon Brooke 3dc84787b5 Simplified the parser slightly, and now generating a subset of ADL. 2018-02-14 17:51:48 +00:00
Simon Brooke ad252a0d78 Beginnings of tree simplification 2018-02-14 13:54:55 +00:00
Simon Brooke 6d49ad3774 Now parses the sample SQL file I most want to parse! 2018-02-14 13:19:29 +00:00
Simon Brooke 9199483f5e Now parses a very substantial amount of SQL. 2018-02-13 19:01:34 +00:00
Simon Brooke d3cc5cb11f Very preliminary code. 2018-02-12 14:45:55 +00:00
Simon Brooke 0a8e2a7664 Initial commit 2018-02-12 14:35:01 +00:00