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

5 files changed

Lines changed: 355 additions & 328 deletions

File tree

0 commit comments

Comments
 (0)