Skip to content

Commit

Permalink
feat(vue): exclude properties from partial responses, based on (inert…
Browse files Browse the repository at this point in the history
…ia PR 1876)
  • Loading branch information
jrson83 committed May 19, 2024
1 parent 69bbd5d commit 9e8d903
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/vue/src/link.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ export const Link = defineComponent({
type: Array as PropType<string[]>,
default: () => [],
},
except: {
type: Array as PropType<string[]>,
default: () => [],
},
queryStringArrayFormat: {
type: String as PropType<'indices' | 'brackets'>,
default: 'brackets',
Expand Down Expand Up @@ -100,6 +104,7 @@ export const Link = defineComponent({
preserveState: props.preserveState ?? method !== 'get',
replace: props.replace,
only: props.only,
except: props.except,
onCancelToken: (...args) => emit('cancel-token', ...args),
onBefore: (...args) => emit('before', ...args),
onStart: (...args) => emit('start', ...args),
Expand Down

0 comments on commit 9e8d903

Please sign in to comment.