Function useUpdateItineraryLocationIsOptionalMutation

  • useUpdateItineraryLocationIsOptionalMutation

    To run a mutation, you first call useUpdateItineraryLocationIsOptionalMutation within a React component and pass it any options that fit your needs. When your component renders, useUpdateItineraryLocationIsOptionalMutation returns a tuple that includes:

    • A mutate function that you can call at any time to execute the mutation
    • An object with fields that represent the current status of the mutation's execution

    Example

    const [updateItineraryLocationIsOptionalMutation, { data, loading, error }] = useUpdateItineraryLocationIsOptionalMutation({
    variables: {
    id: // value for 'id'
    optional: // value for 'optional'
    },
    });

    Parameters

    Returns MutationTuple<UpdateItineraryLocationIsOptionalMutation, Exact<{
        id: string;
        optional: boolean;
    }>, DefaultContext, ApolloCache<any>>

Generated using TypeDoc