Josh Lalonde

Results 13 comments of Josh Lalonde

Thank you, naming mocked routes was exactly what we needed to do!

I noticed that the specs for resource loaders mentioned the ability to pass headers https://github.com/jsdom/jsdom/issues/2050. My use case for this was to pass an Authorization header along with all requests...

The very first step of waitFor with or without fake timers is to check the callback. (https://github.com/testing-library/dom-testing-library/blob/master/src/wait-for.js#L56 or https://github.com/testing-library/dom-testing-library/blob/master/src/wait-for.js#L96) waitFor doesn't consider booleans, its either callback throws (try again) or...

I believe that the accessibility checks are nice, but in some cases you don't need them- take for example a UI framework. That's one of the times where you absolutely...

The choice to use eager loading and lazy loading ultimately comes down to the developer. While it may be a bad pattern in your opinion, I do not agree that...

This is not a solution to this issue, but a quick fix for now, while you wait for a better answer; May I suggest using transformers in the meantime? That...

Thanks for getting back to me! It makes sense that data truncation would result in *some* data loss; but not the entire column. However, something like increasing the size of...

I think that ALTER COLUMN (or equivalent) should always be used when available- even if the column is being truncated. If it is being truncated, then that's on purpose. A...

Edit: This implementation is unique per driver! The tedious part is that each driver needs to have its implementation re-worked! https://github.com/typeorm/typeorm/blob/12cc870e17f01b81e6ea6ca4bd20cb3115039138/src/driver/postgres/PostgresQueryRunner.ts#L598