code: function defineBaseSchemaResolution(
    schema: GraphQLSchema,
    database: DatabaseInterface,
  ): void {
    defineFieldResolve(schema, 'QueryRoot', 'node', database.resolveNode);
    defineFieldResolve(schema, 'QueryRoot', 'session', resolveSession);
    defineFieldResolve(schema, 'Session', 'id', () => 'Session:!');
  }
docs: define field resolution on object types defined by baseSchema.graphql