Skip to content

Commit 8fbc90d

Browse files
committed
refactor: rename QueryLink to RSocketQueryLink
Signed-off-by: Kevin Viglucci <[email protected]>
1 parent 8746d81 commit 8fbc90d

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

packages/rsocket-graphql-apollo-link/src/RSocketLink.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
import { split } from "@apollo/client/core";
1818
import { getMainDefinition } from "@apollo/client/utilities";
19-
import { QueryLink } from "./QueryLink";
19+
import { RSocketQueryLink } from "./RSocketQueryLink";
2020
import { SubscriptionLink } from "./SubscriptionLink";
2121
import { RSocket } from "rsocket-core";
2222

@@ -35,6 +35,6 @@ export const makeRSocketLink = ({ rsocket, route }: makeRSocketLinkConfig) => {
3535
);
3636
},
3737
new SubscriptionLink(rsocket, { route }),
38-
new QueryLink(rsocket, { route })
38+
new RSocketQueryLink(rsocket, { route })
3939
);
4040
};

packages/rsocket-graphql-apollo-link/src/QueryLink.ts renamed to packages/rsocket-graphql-apollo-link/src/RSocketQueryLink.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ type QueryLinkOptions = {
3737
route?: string;
3838
};
3939

40-
export class QueryLink extends ApolloLink {
40+
export class RSocketQueryLink extends ApolloLink {
4141
constructor(
4242
public readonly client: RSocket,
4343
public readonly options: QueryLinkOptions

packages/rsocket-graphql-apollo-link/src/SubscriptionLink.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ type SubscriptionLinkOptions = {
4646
route?: string;
4747
};
4848

49-
export class SubscriptionClient {
49+
class SubscriptionClient {
5050
constructor(
5151
public readonly client: RSocket,
5252
private readonly options: SubscriptionLinkOptions

packages/rsocket-graphql-apollo-link/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515
*/
1616

1717
export { makeRSocketLink, makeRSocketLinkConfig } from "./RSocketLink";
18-
export { QueryLink } from "./QueryLink";
18+
export { RSocketQueryLink } from "./RSocketQueryLink";
1919
export { SubscriptionLink } from "./SubscriptionLink";

0 commit comments

Comments
 (0)