Using Mutation with orval #893
yaniv-creednz
started this conversation in
General
Replies: 1 comment
-
same problem, i can't find how to use this generated function to execute a mutation using svelte query: export const createFeedbackCreate = <TError = unknown, TContext = unknown>(options?: {
mutation?: CreateMutationOptions<
Awaited<ReturnType<typeof feedbackCreate>>,
TError,
{ data: NonReadonly<Feedback> },
TContext
>;
}) => {
const mutationOptions = getFeedbackCreateMutationOptions(options);
return createMutation(mutationOptions);
}; |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I can't find an example of how to use mutation with orval.
can someone attach an example please
Beta Was this translation helpful? Give feedback.
All reactions