MCPcopy Create free account
hub / github.com/apollographql/fullstack-tutorial / constructor

Method constructor

final/server/src/datasources/user.js:8–11  ·  view source on GitHub ↗
({ store })

Source from the content-addressed store, hash-verified

6
7class UserAPI extends DataSource {
8 constructor({ store }) {
9 super();
10 this.store = store;
11 }
12
13 /**
14 * This is a function that gets called by ApolloServer when being setup.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected