Open
Description
------------------------------
π Apollo GraphQL v2.5.2
------------------------------
β Service stats could not be loaded. This may be because you're missing an apollo.config.js file or it is misconfigured. For more information about configuring Apollo projects, see the guide here (https://go.apollo.dev/t/config).
^ Getting the above error after upgrading to the latest version of the extension v2.5.2
Here is the apollo.config.ts file -
import env from 'dotenv';
env.config();
export default {
client: {
service: {
name: 'service-name',
url: process.env.APOLLO_HASURA_GRAPHQL_END_POINT,
headers: {
'x-hasura-admin-secret': process.env.APOLLO_HASURA_GRAPHQL_ADMIN_SECRET,
'content-type': 'application/json',
},
},
},
};
Works with v2.0.0
------------------------------
π Apollo GraphQL v2.0.0
------------------------------
β
Service Loaded!
π Service ID: service-name
π· Schema Tag: current
π Number of Types: 2245 (0 client types)
------------------------------
Metadata
Metadata
Assignees
Labels
No labels