vlcn-io / typed-sql

MIT License
100 stars 2 forks source link

test in conjunction with prettier & eslint #24

Closed tantaman closed 1 year ago

tantaman commented 1 year ago

Ensure we don't hit cyclical type-regenerations or "misplace replacements."

tantaman commented 1 year ago

prettier generates some syntax changes that make schema definitions undiscoverable by typed-sql

These weird extra spacings around < and {, e.g.: schema < { type } >

Screenshot 2023-08-02 at 1 52 53 PM Screenshot 2023-08-02 at 1 52 58 PM

tantaman commented 1 year ago

No, this problem is a tyepscript bug. It thinks foo<bar> is a boolean expression in one of my projeccts... not any others, however.