Right now, `~variables` expects any type: ```reason let useQuery: ( ~client: ApolloClient.t=?, ~variables: 'raw_t_variables=?, ~notifyOnNetworkStatusChange: bool=?, ~fetchPolicy: ApolloHooksTypes.fetchPolicy=?, ~errorPolicy: ApolloHooksTypes.errorPolicy=?, ~skip: bool=?, ~pollInterval: int=?, ~context: Context.t=?, graphqlDefinition('t, 'raw_t) ) => (variant('t), queryResult('t, 'raw_t, 'raw_t_variables)) ``` So if you partially apply `makeVariables` by forgetting a non-optional argument for example, this won't be detected by the type-checker. Any idea how to solve this?
Right now,
~variablesexpects any type:So if you partially apply
makeVariablesby forgetting a non-optional argument for example, this won't be detected by the type-checker.Any idea how to solve this?