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
* When your component renders, `useOnCommentAddedSubscription` returns an object from Apollo Client that contains result, loading and error properties
341
341
* you can use to render your UI.
342
342
*
343
-
* @param options that will be passed into the subscription, supported options are listed on: https://v4.apollo.vuejs.org/guide-composable/query.html#options;
343
+
* @param options that will be passed into the subscription, supported options are listed on: https://v4.apollo.vuejs.org/guide-composable/subscription.html#options;
* @param options that will be passed into the ${operationType.toLowerCase()}, supported options are listed on: https://v4.apollo.vuejs.org/guide-composable/${
Copy file name to clipboardExpand all lines: packages/plugins/typescript/vue-apollo/tests/vue-apollo.spec.ts
+28-3Lines changed: 28 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -715,6 +715,23 @@ query MyFeed {
715
715
* id: // value for 'id'
716
716
* }
717
717
* );
718
+
*/`;
719
+
720
+
constsubscriptionDocBlockSnapshot=`/**
721
+
* __useCommentAddedSubscription__
722
+
*
723
+
* To run a query within a Vue component, call \`useCommentAddedSubscription\` and pass it any options that fit your needs.
724
+
* When your component renders, \`useCommentAddedSubscription\` returns an object from Apollo Client that contains result, loading and error properties
725
+
* you can use to render your UI.
726
+
*
727
+
* @param options that will be passed into the subscription, supported options are listed on: https://v4.apollo.vuejs.org/guide-composable/subscription.html#options;
0 commit comments