|
|
|
|
|
by yasserf
1832 days ago
|
|
@jbaudanza sorry my response actually didn't reflect your suggestion at all! Yeah I would love that sort of tool! I think theres some magic you can do with the es6 templating parsing, but that would be a bit complex to do as a supporting library |
|
I think such a tool would be complicated to implemented. I was thinking maybe of integrating with tagged template literals somehow. Maybe something like:
And then some tool could parse the AST to find all the SQL and generate types.