Jason Shin

Results 80 comments of Jason Shin

I was able to fix the issue by adding `typeof` keyword in FinalClass when it's declaring a prop for `IntermediateType` https://www.typescriptlang.org/play?#code/C4TwDgpgBA0hIGcDyAzAqgOwJYHsMB4AVAPigF4pCoIAPYCDAEwUqgH4oBreHFVgLigYIANwgAnANwAoaQHoAVAukBROuICGAY2BRgAC2gQANhAC2DXbygaMN8ZpB79G3RuMIcUAO45xnFhQ-e0coAFdsPAA6aQAlCGAw8QwWAANhMXFUqCw+KiwWDBw3Ow0HDRAYgEldLXEIVwgWDT1wCABaBA0UaG8KvS9tLSaWAyNTCwxdUEgoa1SIziLvDGyZiBiFOWl1qABBcpAVCcsiUgoqWnomFnqNRjxjJ0XljABtAF12SjeABi-BBkJDJ5EpVOptNNDHMAEYAKwgOigKCwJkYrVmuVYBRsdhw8MRJXRMByzS48DmeQANFB6olklB0qIJNlioZxN4ChtpDUoHUGvQyetOt1ev1gIMtMMEKNoRYzDCJBjoPMXjgVms2pttrskASdAA1dxhCBEGkwc6wah0BjMckgaxUDiEN4wAFCZlSWSKZQAYTu9BsyuR4hwZkZAAUyhoLPRxIQ2tlbOjUlUMGAwsAE5Ak0w+S4MABzaDcRDWrTGMIILBiAaMtMZrOJutMzKpGLtKAAcQYEkaQeMBSsfFLstc1qHLCwdlT6cz2Yg2RhmaExRyM6jmljEgX7eknYAsmVOM4mkYaNKWKObGkgVltTs2lA1JC9QidPhNzGEju2jSG-ObSWgA3q6FLTva1hftu8ZtB8ggvh+0E-rBkBgSAHw0m+hJGpWpoAU2kDmvAxDEAAvtIABkUDxFofiMPgagVmEjCmqW1gEQuxGIKgmC4AQyFxgupE0nexAgj60j+gK0AtLsBjjg8TSrm4xjGOq1rAJoUBgKGkDiMAqIIDSFi2NOhY5FYGBPDYanqiwuk4PphnKQpbj1NaYCDloWDADZrEVmUECMDEhD6DiOJVhAKBhMYyLBDFGA6PxyrtIWYRlIw5l1vU77uelkzACwnIGOWIw6XpEguQgURQAAIiadZjEIrhJCqe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x4UcAOI4RiujgD4ApRUY45hTh4tQhAYgNI6VHBOFMfAHzICkWID8gOaZ+4QEHn1dlhxN4tFxjCXY1hkkPBtocGknhbJ9DLIKXQHKoCKiCB5BVf9DgxG+d8wQzKFyaSJbSBoiqbIkveF8DgBqlWUqeRyhlhVnlbhQsJCVjgPWnF5ay0iPyTVmpeT6p8hLtHzNPhwTB2EkIRqEn+d5YDhKhrDVAc1bQQTem2AHA8Tg6KsSgOycRvdZC7E6mYdwxgLWiOkFAa2bjxnmRkBRB5aa4wWCyo0Btesm3rjjAAfQ0GwQQNa60Lg7VWp8AAxac7gB3ASHfs9wY6J3dokL2rA-bc3SE7YFbaU61K+knttRhMtCosCeae+tqb73nvuggUgq7m14FbZIwsIJm12K0mEHQfgfqfokZjIsVN33NucAUKIn7dafpkM2iiR6L0sDTD24Ke76DPsvRPRlUxb3Up5VMHdWH91EW3eIXdjRcOvsHc26co7x2TtrWetDs7pDHpYIug2xg6M5HwzenRkJ8C8eXam8T-G0NvrXUu4wm7BDrA4qR6j5GcMccgX3fA7ROzs2RKiYw6JizCE0IKIM0zg7UAcPEztQA Not sure if it's helpful as you are getting...

Hey, potentially it is possible if I can query PG json field's schema (I believe mysql8 supports that as well) Not sure if we can workout advanced functions like json...

Hi, let me have a think about this. I can potentially just utilise an NPM module for unzipping, which should provide cross platform compatibility

It should've been fixed the recent update from @AnantSutar

Hey there, this is an interesting idea. **SQL Fragment** Thanks for the suggestion, and it is a valid input. I prefer to continue moving toward the compile-time approach over the...

Thanks for this, could you please tell me what version of sqlx-ts that you are using? I am replicating the same query (It seems like you are not using `-g`...

Thanks for the idea, this is interesting I can potentially extend https://github.com/JasonShin/sqlx-ts/blob/953ee1c47da9c9e113e0c4dbeba45d411b5c6f93/src/common/cli.rs#L28C9-L28C12 to support the additional JS types. `jsx/tsx` is a tricky one because that requires a whole lot of...

I will assign this task to [@AnantSutar](https://github.com/AnantSutar) We will support `tjs`, `mjs`, `cjs` **What needs to be done** **Support tjs, mjs, and cjs in the codebase** - [extend JsExtension enum](https://github.com/JasonShin/sqlx-ts/blob/306355a50b65dc119b47e071a882200998dd35c8/src/common/types.rs#L6)...

Fixed https://github.com/JasonShin/sqlx-ts/releases/tag/v0.31.0

~Also note that you need to run `sequelize.connectionManager.initPools` for v6+ for this to work~ I am wrong here, you do not ened to run `initPools` with this hack. Dynamically configuring...