-
-
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: Allow connection to be used without relay for generic cursor pa…
…gination
- Loading branch information
1 parent
d504428
commit ddcc952
Showing
23 changed files
with
1,620 additions
and
1,774 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,16 @@ | ||
Release type: minor | ||
|
||
This release moves the `Connection` implementation outside the relay package, | ||
allowing it to be used for general-purpose cursor pagination. | ||
|
||
The following now can be imported from `strawberry.pagination`: | ||
|
||
- `Connection` - base generic class for implementing connections | ||
- `ListConnection` - a limit-offset implementation of the connection | ||
- `connection` - field decorator for creating connections | ||
|
||
Those can still be used together with the relay package, but importing from it | ||
is now deprecated. | ||
|
||
You can read more about connections in the | ||
[Strawberry Connection Docs](https://strawberry.rocks/docs/guides/pagination/connections). |
File renamed without changes.
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.