Unable to find any GraphQL type definitions for the following pointers: src/**/*.graphql

The file your shared is your schema (as generated by your server), but it seems that you haven’t created any queries or mutations on top of it. This would be a reason why the codegen is not working properly. I suggest thay you create a new file with a simple query, such as: get-users.query.graphql query … Read more

How to chain two GraphQL queries in sequence using Apollo Client

The props added by your firstQuery component will be available to the component below (inside) it, so you can do something like: export default compose( graphql(firstQuery, { name: ‘firstQuery’ }), graphql(secondQuery, { name: ‘secondQuery’, skip: ({ firstQuery }) => !firstQuery.data, options: ({firstQuery}) => ({ variables: { var1: firstQuery.data.someQuery.someValue } }) }) )(withRouter(TestPage)) Notice that we … Read more

GraphQL Java client library [closed]

There’s a few clients available, all taking different approaches. Apollo Android – Originally intended for Android, but equally usable in any Java project. Someone also made a Maven plugin for it. Shopify’s GraphQL Java gen – Similar to what wsdl2java does, for example, but not wrapped into a Maven plugin. Generates a nice client, but … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)