-
-
Notifications
You must be signed in to change notification settings - Fork 522
Closed
Labels
Description
Versions:
"@apollo/client": "^3.11.4",
"@vue/apollo-composable": "^4.2.1",
"@vue/apollo-util": "^4.0.0-beta.6",
"graphql": "^16.9.0",
"graphql-tag": "^2.12.6",
"graphql-ws": "^5.16.0",
"vue": "^3.4.29",
When I implemented the subscription feature,I found that my server doesn't support the ”extensions” field. So is there a way to remove the ”extensions” field from payload?
Below is my code and error
const { result,error,onResult,onError } = useSubscription(gql`subscription {
subscribe(attNames:["sys/tg_test/2/ampli"],modes:[PERIODIC]){
full_name
index
event
value {
name
value
timestamp
data_type
data_format
}
subscription_error
}
}`,undefined,()=>({
enabled: enabled.value,
debounce: 2000,
}));
If anyone can help me, I will be very grateful to you.