Apollo Link that omits typename fields from operation variables
yarn add apollo-link-omit-typename
import { ApolloLink, HttpLink } from '@apollo/client';
import OmitTypenameLink from 'apollo-link-omit-typename';
const link = ApolloLink.from([
new OmitTypenameLink(),
new HttpLink({
uri: 'uri',
}),
]);