-
-
Notifications
You must be signed in to change notification settings - Fork 533
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate graphql-transport-ws types to TypedDicts (#3701)
* Migrate graphql-transport-ws types to TypedDicts * Add release file * Fix quotes in f-strings * Make more use of type inference * Make more use of type inference in tests too
- Loading branch information
1 parent
275ebc1
commit efc736f
Showing
9 changed files
with
979 additions
and
880 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Release type: minor | ||
|
||
In this release, we migrated the `graphql-transport-ws` types from data classes to typed dicts. | ||
Using typed dicts enabled us to precisely model `null` versus `undefined` values, which are common in that protocol. | ||
As a result, we could remove custom conversion methods handling these cases and simplify the codebase. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.