Paginate findings and obligations 500 by 500
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
@@ -104,7 +104,7 @@ const findingsPageFragment = graphql`
|
|||||||
fragment FindingsPageFragment on Organization
|
fragment FindingsPageFragment on Organization
|
||||||
@refetchable(queryName: "FindingsPageRefetchQuery")
|
@refetchable(queryName: "FindingsPageRefetchQuery")
|
||||||
@argumentDefinitions(
|
@argumentDefinitions(
|
||||||
first: { type: "Int", defaultValue: 10 }
|
first: { type: "Int", defaultValue: 500 }
|
||||||
after: { type: "CursorKey" }
|
after: { type: "CursorKey" }
|
||||||
snapshotId: { type: "ID", defaultValue: null }
|
snapshotId: { type: "ID", defaultValue: null }
|
||||||
kind: { type: "FindingKind", defaultValue: null }
|
kind: { type: "FindingKind", defaultValue: null }
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ const obligationsPageFragment = graphql`
|
|||||||
fragment ObligationsPageFragment on Organization
|
fragment ObligationsPageFragment on Organization
|
||||||
@refetchable(queryName: "ObligationsPageRefetchQuery")
|
@refetchable(queryName: "ObligationsPageRefetchQuery")
|
||||||
@argumentDefinitions(
|
@argumentDefinitions(
|
||||||
first: { type: "Int", defaultValue: 10 }
|
first: { type: "Int", defaultValue: 500 }
|
||||||
after: { type: "CursorKey" }
|
after: { type: "CursorKey" }
|
||||||
snapshotId: { type: "ID", defaultValue: null }
|
snapshotId: { type: "ID", defaultValue: null }
|
||||||
) {
|
) {
|
||||||
|
|||||||
Reference in New Issue
Block a user