π¦ TypeScript
- Exposed the
OperationResult
interface #97 (7ba3972)
π New Features
- Added
context
option to useQuery
and useMutation
to support modifying headers on per query basis #96 (8248b06)
useQuery({
query: SomeQuery,
context: {
headers: {
// some headers
}
}
});
// can be reactive as well
useQuery({
query: SomeQuery,
context: computed(() => { .... })
});
useMutation(SomeMutation, {
context: {
headers: {
// some headers
}
}
});
// can be reactive as well
useMutation(SomeMutation, {
context: computed(() => { .... })
});