Overview
Strawberry GraphQL 0.220, released on June 1, 2024, improves resolver performance and adds code generation features.
Main Features
Performance and codegen
Resolvers are optimized and client code generation facilitates frontend integration.
python
import strawberry
@strawberry.type
class Book:
title: str
author: str
@strawberry.type
class Query:
@strawberry.field
def books(self) -> list[Book]:
return [
Book(title='Python', author='Guido'),
]
schema = strawberry.Schema(query=Query)
