strawberry-graphql / strawberry-django

Strawberry GraphQL Django extension
https://strawberry.rocks/docs/django
MIT License
411 stars 118 forks source link

Fix typo in optimizer docs for `strawberry.django.type` annotation #334

Closed fireteam99 closed 1 year ago

fireteam99 commented 1 year ago

Description

The correct annotation should be @strawberry.django.type and not @strawberry.django. Otherwise you will get a "module is not callable" error.

Types of Changes

Issues Fixed or Closed by This PR

N/A

Checklist

codecov-commenter commented 1 year ago

Codecov Report

Patch and project coverage have no change.

Comparison is base (1e55ba3) 87.90% compared to head (1bb791f) 87.90%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #334 +/- ## ======================================= Coverage 87.90% 87.90% ======================================= Files 33 33 Lines 2944 2944 ======================================= Hits 2588 2588 Misses 356 356 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.