-
-
Notifications
You must be signed in to change notification settings - Fork 543
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: relay.Node with overwritten resolve_id and without NodeId (#2844)
* fix: unneccessary local variable, error when overwritting resolve_id but not providing a NodeId annotation * add tests for overwritting resolve_id * add Release.md * fix: codecov should ignore lines, rename code to color * Update RELEASE.md Co-authored-by: Thiago Bellini Ribeiro <hackedbellini@gmail.com> * Update tests/relay/test_schema.py Co-authored-by: Thiago Bellini Ribeiro <hackedbellini@gmail.com> * fix code suggestion * move id_attr check to __init_subclass__ * Revert "move id_attr check to __init_subclass__": this would prevent non-final Node Subclasses This reverts commit 758bc50. --------- Co-authored-by: Thiago Bellini Ribeiro <hackedbellini@gmail.com>
- Loading branch information
1 parent
6b84220
commit a31b5c4
Showing
5 changed files
with
78 additions
and
2 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,3 @@ | ||
Release type: patch | ||
|
||
Don't require `NodeId` annotation if resolve_id is overwritten on `Node` implemented types |
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
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
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
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