Zorn
Zorn
Solution: ```typescript const transformer = new DocumentToEntityTransformer(); const users = rawUsers.map((rawUser) => transformer.transform(rawUser, this.usersRepository.metadata)); ``` The `RawSqlResultsToEntityTransformer` expects each column to be prefixed with the alias in the table's metadata...
Just found a bug in `RawSqlResultsToEntityTransformer`, making a PR
https://github.com/typeorm/typeorm/pull/11010 Usage: ```typescript const rawUsers = await this.usersRepository.createQueryBuilder('users').select('users.*') /* other stuff */ .limit(50) .offset((page - 1) * 50) .getRawMany(); const transformer = new RawSqlResultsToEntityTransformer(query.expressionMap, this.dataSource.driver, [], []); const users =...
If you change your query to `usersRepository.createQueryBuilder('users').select('users')`, you can simply do: ```typescript const transformer = new RawSqlResultsToEntityTransformer(query.expressionMap, this.dataSource.driver, [], []); const users = transformer.transform(rawUsers, query.expressionMap.mainAlias!); ```
I'm with @dustin on this one. @foosel Would you consider adding a "Reconnect and run gcode" on error/failure? If resuming the print is too difficult or impossible, I'd really like...
Probably
Until this gets implemented, a messy hack would be: ```javascript text = text.replace(/>/g, '> '); text = sanitizeHtml(text, {allowedTags:[]}); ```
Is anyone aware of a reliable way to get a list of block-tags? If so, this shouldn't be terribly difficult to implement, right? I'm not sure.
This is what I got from ChatGPT: Here is a comprehensive list of block-level HTML tags/elements available in the latest implementation(s) of HTML, including both standard and experimental/non-standard elements: ###...
Attached is a real-world example. However, this particular example does not use a barebones `@neshca/cache-handler/redis-stack` handler. [:sermon:when-words-are-not-enough:1446553.json](https://github.com/user-attachments/files/16860785/sermon.when-words-are-not-enough.1446553.json)