You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The relay-compiler already validate if we have defined a variable and doesn't use them and in some cases when you don't need to use @arguments/@argumentDefinitions we receive a false negative, like this case:
constresponse=useLazyLoadQuery<StoresListQuery>(graphql` query StoresListQuery( $count: Int # Variable "$count" is never used in operation "StoresListQuery" $cursor: String $where: StoresWhereInput! $search: String ) { ...StoresList_stores # relay already understand that here we are using count/cursor/where/search } `,{count: PER_PAGE, where })constlist=usePaginationFragment<StoresList_stores_refetch,StoresList_stores$key>(graphql`
fragmentStoresList_storesonQuery
@refetchable(queryName: "StoresList_stores_refetch"){stores(first: $count,after: $cursor,where: $where,search: $search)
@connection(key: "StoreList_stores"){
The text was updated successfully, but these errors were encountered:
The relay-compiler already validate if we have defined a variable and doesn't use them and in some cases when you don't need to use @arguments/@argumentDefinitions we receive a false negative, like this case:
The text was updated successfully, but these errors were encountered: