0

According to the strawberry documentation (https://strawberry.rocks/docs/types/scalars) the JSON scalar type is available in strawberry.scalars. But it throws an error when it is imported:

error: Module "strawberry.scalars" has no attribute "JSON"

Do you have any idea why it can not be found?

MrFlick
  • 195,160
  • 17
  • 277
  • 295
  • 2
    Could you provide a code snippit that shows both how you are importing strawberry as well as how you are calling the line with .JSON? – Matt Aug 04 '23 at 20:10
  • Please provide enough code so others can better understand or reproduce the problem. – Community Aug 05 '23 at 05:37

0 Answers0