title: When I run nest.js, I get a Missing "driver" option error
body: <p>I am using nest.js, prisma, and graphql.<br />
  When I run the npm run start:dev command, I get an error.<br />
  If anyone knows how to solve this, please let me know.</p>
  <blockquote>
  <p>ERROR [GraphQLModule] Missing
  &quot;driver&quot; option. In the latest version of &quot;@nestjs/graphql&quot; package
  (v10) a new required configuration property called &quot;driver&quot; has been
  introduced. Check out the official documentation for more details on
  how to migrate (<a href="https://docs.nestjs.com/graphql/migration-guide" rel="nofollow noreferrer">https://docs.nestjs.com/graphql/migration-guide</a>).
  Example:</p>
  </blockquote>
  <p>GraphQLModule.forRoot({
  driver: ApolloDriver,
  })</p>
  <pre><code>app.module.ts
  import { Module } from '@nestjs/common';
  import { GraphQLModule } from '@nestjs/graphql';
  import { AppController } from './app.controller';
  import { AppService } from './app.service';
  import { ApolloServerPluginLandingPageLocalDefault } from 'apollo-server-core';
  import { DonationsModule } from './donations/donations.module';
  
  @Module({
    imports: [
      GraphQLModule.forRoot({
        playground: false,
        plugins: [ApolloServerPluginLandingPageLocalDefault()],
        typePaths: ['./**/*.graphql'],
      }),
      DonationsModule,
    ],
    controllers: [AppController],
    providers: [AppService],
  })
  export class AppModule {}
  
  </code></pre>
  <pre><code>generate-typings.ts
  import { GraphQLDefinitionsFactory } from '@nestjs/graphql';
  import { join } from 'path';
  
  const definitionsFactory = new GraphQLDefinitionsFactory();
  definitionsFactory.generate({
    typePaths: ['./src/**/*.graphql'],
    path: join(process.cwd(), 'src/graphql.ts'),
    outputAs: 'class',
    watch: true,
  });
  
  </code></pre>
  <p>fix</p>
  <pre><code>@Module({
    imports: [
      GraphQLModule.forRoot&lt;ApolloDriverConfig&gt;({
        driver: ApolloDriver,
        autoSchemaFile: true,
        plugins: [ApolloServerPluginLandingPageLocalDefault()],
        typePaths: ['./**/*.graphql'],
      }),
      DonationsModule,
    ],
    controllers: [AppController],
    providers: [AppService],
  })
  </code></pre>