-
-
Notifications
You must be signed in to change notification settings - Fork 536
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(relay): Separate slice metadata to a separate function to allow …
…reusage
- Loading branch information
1 parent
2c90ef6
commit 08bfdd2
Showing
4 changed files
with
246 additions
and
74 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,11 @@ | ||
Release type: minor | ||
|
||
This release separates the `relay.ListConnection` logic that calculates the | ||
slice of the nodes into a separate function. | ||
|
||
This allows for easier reuse of that logic for other places/libraries. | ||
|
||
The new function lives in the `strawberry.relay.utils` module and is called | ||
`get_slice_metadata`. | ||
|
||
This has no implications to end users. |
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
Oops, something went wrong.