Fix move-cookie connection lookup with filters: []
ConnectionHandler.getConnection could not find the cookies connection because orderBy was implicitly treated as a filter. Add filters: [] to the @connection directive and document the filters rule in contrib/claude/relay.md. Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
@@ -59,7 +59,7 @@ export const categorySectionFragment = graphql`
|
||||
description
|
||||
kind
|
||||
cookies(first: 100, orderBy: { field: CREATED_AT, direction: ASC })
|
||||
@connection(key: "CategorySection_cookies")
|
||||
@connection(key: "CategorySection_cookies", filters: [])
|
||||
@required(action: THROW) {
|
||||
__id
|
||||
edges {
|
||||
|
||||
Reference in New Issue
Block a user