P Sam

Results 16 comments of P Sam

(pylance 2020.8.2) I confirm the diagnosis of @erictraut. In "strict" mode, I have: ```python class Message(models.Model): subject = models.CharField() ```` ``` Type of "subject" is partially unknown Type of "subject"...

@RobinD42 Could you please remind us why you reopen the issue after the fix, which seems to solve the problem? I was exposed to this crash on Windows and did...

I experienced the same issue, with a 'é' character in the path leading to the project. With a replacement by a simple 'e', the module name is back to an...

The issue is located in `lib/plugin/utils/plugin-utils.ts`, function `replaceImportPath()`, called in `lib/plugin/visitors/controller-class.visitor.ts`. Seen with a console.log(), parameter `typeReference` is given as `import("/home/xyz/Documents/Programoz\u00E1s/2022/project/src/AType").AType`. For a string literal in a test script, escape...

@Anisi or @bashleigh , please consider closing this issue as a duplicate of 627.

Inspired by the other comments, my current workaround is: ``` const totalItems = await queryBuilder.clone().getCount() return paginate(queryBuilder, { ...options, countQueries: false, metaTransformer: (meta: IPaginationMeta): IPaginationMeta => ({ ...meta, totalItems, totalPages:...

@gavin-c-tcg or @bashleigh , please consider closing this issue as a duplicate of 627.

I did nothing, just clicked on your link and opened the index.tsx file: ![image](https://github.com/marmelab/react-admin/assets/537094/99fce07d-821f-4c50-ad29-ac5e04e1ea3c) Noticeable in yarn.lock: "@types/react@*": version "18.2.8"

May be a hint, with what is usually `children: AdminChildren`, in ra-ui-materialui\src\theme\ThemeProvider.tsx: ``` export interface ThemeProviderProps { children: ReactNode; ``` and so on, deeper in @mui/material/styles.

@linconsdev or @bashleigh , please consider closing this issue as a duplicate of 627.