Skip to content

Commit 629b763

Browse files
authored
Convert AST nodes to frozen dataclasses (#256)
Refactor all of the GraphQL AST Nodes to use Python dataclasses to provide better type safety, immutability guarantees, and cleaner code while maintaining backwards compatibility with existing APIs. This also gives huge (de)serialization and parsing performance gains.
1 parent 020ec1f commit 629b763

File tree

5 files changed

+355
-328
lines changed

5 files changed

+355
-328
lines changed

0 commit comments

Comments
 (0)