非凡少年

Results 7 comments of 非凡少年

same here ```javascript /** * Create a code check from a regex. * * @param {RegExp} regex * @returns {(code: Code) => code is number} */ function regexCheck(regex) { return...

> https://nextjs.org/docs/advanced-features/source-maps !!! Set **productionBrowserSourceMaps** true in next.config.js can get full error trace.

谢谢大佬 > > Is this issue still active? we pinned the version to 1.2.205 due to this bug which we are using TypeOrm with swc > > check [#5047 (comment)](https://github.com/swc-project/swc/issues/5047#issuecomment-1188874962)

I encountered the same issue while using sqlmodel. ``` from sqlmodel import Field, SQLModel class Hero(SQLModel, table=True): id: int | None = Field(default=None, primary_key=True) name: str secret_name: str age: int...

@dantetemplar Did you find a solution?

Downgrade to v0.4.12, it's ok. ![image](https://github.com/koxudaxi/pydantic-pycharm-plugin/assets/21997724/5dcf4b26-f0b7-4019-b0c4-28d5c69bcbac) But no model fields autocompletion. ![image](https://github.com/koxudaxi/pydantic-pycharm-plugin/assets/21997724/2d173740-45be-4536-a777-9ef1eb15c09b)

goto https://plugins.jetbrains.com/plugin/12861-pydantic/versions/stable, ![image](https://github.com/koxudaxi/pydantic-pycharm-plugin/assets/21997724/67824deb-3ee3-4c25-be6b-e3da55a29ebb) ![image](https://github.com/koxudaxi/pydantic-pycharm-plugin/assets/21997724/1a50b99e-3fae-4c51-aa9c-880437440451)