Hacker News new | ask | show | jobs
by hansonkd 751 days ago
> more complex, more expensive to maintain, consuming more resources,

Idk. Strawberry GQL and most GQL libraries are maybe equally as complex as the REST libraries for the same language. Strawberry and FastAPI I would say are equal in complexity and configuration.

It would be hard for me to say GQL is more expensive or consumes more resources. Opposite of the purpose and most uses of GQL.

1 comments

In stawberry you make a method per field you want to retrieve, I would say it is indeed more complex and costly.
What? Its a method per collection you want to return. or else it is a type annotation. Exactly as complex as FastAPI or any other typed system.