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
feat(relay-optimizer-plugin): also transform fragments (in order to have valid documents during runtime)
BREAKING CHANGE: graphql-codegen >= 1.6.1 requires now the `skipDocumentsValidation` config option being set to `true`. Documents will still be validted by relay-compiler.
* To run a query within a React component, call `useAppQueryQuery` and pass it any options that fit your needs.
475
+
* When your component renders, `useAppQueryQuery` returns an object from Apollo Client that contains loading, error, and data properties
476
+
* you can use to render your UI.
477
+
*
478
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
@@ -520,6 +538,23 @@ export type AddTodoMutationMutationFn = ApolloReactCommon.MutationFunction<
520
538
AddTodoMutationMutationVariables
521
539
>;
522
540
541
+
/**
542
+
* __useAddTodoMutationMutation__
543
+
*
544
+
* To run a mutation, you first call `useAddTodoMutationMutation` within a React component and pass it any options that fit your needs.
545
+
* When your component renders, `useAddTodoMutationMutation` returns a tuple that includes:
546
+
* - A mutate function that you can call at any time to execute the mutation
547
+
* - An object with fields that represent the current status of the mutation's execution
548
+
*
549
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
@@ -560,6 +595,23 @@ export type ChangeTodoStatusMutationMutationFn = ApolloReactCommon.MutationFunct
560
595
ChangeTodoStatusMutationMutationVariables
561
596
>;
562
597
598
+
/**
599
+
* __useChangeTodoStatusMutationMutation__
600
+
*
601
+
* To run a mutation, you first call `useChangeTodoStatusMutationMutation` within a React component and pass it any options that fit your needs.
602
+
* When your component renders, `useChangeTodoStatusMutationMutation` returns a tuple that includes:
603
+
* - A mutate function that you can call at any time to execute the mutation
604
+
* - An object with fields that represent the current status of the mutation's execution
605
+
*
606
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
@@ -600,6 +652,23 @@ export type MarkAllTodosMutationMutationFn = ApolloReactCommon.MutationFunction<
600
652
MarkAllTodosMutationMutationVariables
601
653
>;
602
654
655
+
/**
656
+
* __useMarkAllTodosMutationMutation__
657
+
*
658
+
* To run a mutation, you first call `useMarkAllTodosMutationMutation` within a React component and pass it any options that fit your needs.
659
+
* When your component renders, `useMarkAllTodosMutationMutation` returns a tuple that includes:
660
+
* - A mutate function that you can call at any time to execute the mutation
661
+
* - An object with fields that represent the current status of the mutation's execution
662
+
*
663
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
@@ -638,6 +707,23 @@ export type RemoveCompletedTodosMutationMutationFn = ApolloReactCommon.MutationF
638
707
RemoveCompletedTodosMutationMutationVariables
639
708
>;
640
709
710
+
/**
711
+
* __useRemoveCompletedTodosMutationMutation__
712
+
*
713
+
* To run a mutation, you first call `useRemoveCompletedTodosMutationMutation` within a React component and pass it any options that fit your needs.
714
+
* When your component renders, `useRemoveCompletedTodosMutationMutation` returns a tuple that includes:
715
+
* - A mutate function that you can call at any time to execute the mutation
716
+
* - An object with fields that represent the current status of the mutation's execution
717
+
*
718
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
@@ -676,6 +762,23 @@ export type RemoveTodoMutationMutationFn = ApolloReactCommon.MutationFunction<
676
762
RemoveTodoMutationMutationVariables
677
763
>;
678
764
765
+
/**
766
+
* __useRemoveTodoMutationMutation__
767
+
*
768
+
* To run a mutation, you first call `useRemoveTodoMutationMutation` within a React component and pass it any options that fit your needs.
769
+
* When your component renders, `useRemoveTodoMutationMutation` returns a tuple that includes:
770
+
* - A mutate function that you can call at any time to execute the mutation
771
+
* - An object with fields that represent the current status of the mutation's execution
772
+
*
773
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
@@ -712,6 +815,23 @@ export type RenameTodoMutationMutationFn = ApolloReactCommon.MutationFunction<
712
815
RenameTodoMutationMutationVariables
713
816
>;
714
817
818
+
/**
819
+
* __useRenameTodoMutationMutation__
820
+
*
821
+
* To run a mutation, you first call `useRenameTodoMutationMutation` within a React component and pass it any options that fit your needs.
822
+
* When your component renders, `useRenameTodoMutationMutation` returns a tuple that includes:
823
+
* - A mutate function that you can call at any time to execute the mutation
824
+
* - An object with fields that represent the current status of the mutation's execution
825
+
*
826
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
0 commit comments