I'm having a problem with react-apollo. Even not calling the query in Foo class:
The operation 'FooQuery' wrapping 'Foo' is expecting a variable: 'id' but it was not found in the props passed to 'Apollo(Foo)'
class Foo extends React.Component {
render() {
return <div />
}
}
const FOO_QUERY = gql`
query FooQuery($id: ID!) {
foo(id: $id) {
bar
}
}
`
export default graphql(FOO_QUERY, { name: 'fooQuery' })(Foo)