Skip to content

Commit

Permalink
Remove v1 graphql code (#352)
Browse files Browse the repository at this point in the history
  • Loading branch information
eskrm authored Jan 3, 2025
1 parent 4f9ef7b commit 3a0a7c2
Show file tree
Hide file tree
Showing 22 changed files with 291 additions and 5,957 deletions.
437 changes: 0 additions & 437 deletions src/adapter/index.ts

This file was deleted.

124 changes: 0 additions & 124 deletions src/adapter/types.ts

This file was deleted.

4 changes: 2 additions & 2 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import * as zlib from 'zlib';

import {makeAxiosInstanceWithRetry} from './axios';
import {wrapApiError} from './errors';
import {paginatedQuery} from './graphql/graphql';
import {paginatedQueryV2} from './graphql/graphql';
import {batchMutation} from './graphql/query-builder';
import {Mutation, Schema} from './graphql/types';
import {
Expand Down Expand Up @@ -305,7 +305,7 @@ export class FarosClient {
graph: string,
rawQuery: string,
pageSize = 100,
paginator = paginatedQuery,
paginator = paginatedQueryV2,
args: Map<string, any> = new Map<string, any>()
): AsyncIterable<any> {
const {query, edgesPath, edgeIdPath, pageInfoPath} = paginator(rawQuery);
Expand Down
Loading

0 comments on commit 3a0a7c2

Please sign in to comment.