Closed SferaDev closed 8 months ago
Closing in favour of #297
Hi @SferaDev, thanks for doing this 🙏 . I was also working on this and have opened https://github.com/xataio/pgroll/pull/297 to do it.
It's basically the same as what we have here but also updates examples and the docs too. Mind if we close this?
haha, beat me to it 😆
Fixes #221
@andrew-farries I'm not sure if you finally implemented it, If you have something in the works please close this PR as yours will likely be better than mine.
The
enum
parsing could be way better, butomissis/go-jsonschema
doesn't generate much without going all-in with their validator, and even with that it's behindenumer
orvalidator
. I decided to manually check for the values, but I'd be fine with not checking it at all or adding some better enum validator.