strawberry
strawberry copied to clipboard
Add ability to use strawberry mypy plugin with pydantic without pydantic mypy plugin
Currently it's not possible not to use pydantic mypy plugin while using strawberry mypy plugin and experimental pydantic types.
It could be useful for users who do not want to enable pydantic plugin.
Feature Request Type
- [x] New behavior
Description
Add ability to use strawberry mypy plugin with pydantic without pydantic mypy plugin
Upvote & Fund
- We're using Polar.sh so you can upvote and help fund this issue.
- We receive the funding once the issue is completed & confirmed by you.
- Thank you in advance for helping prioritize & fund our backlog.
@benzolium can you show me what happens when you only enable the strawberry plugin? does it crash?
@patrick91 I'm getting:
error: Pydantic plugin not installed, please add pydantic.mypy your mypy.ini plugins
for every line with @strawberry.experimental.pydantic.type
This is still a running issue...has anyone found a workaround to suppress the error in the meantime?