RedwoodJS Realtime

Hi, using latest canary (7.0.0-canary.402), i got 4 red squiggly lines on server.ts. this didn’t happen before:

  1. on line with DEFAULT_REDWOOD_FASTIFY_CONFIG:
  // Configure Fastify
  const fastify = Fastify({
    ...DEFAULT_REDWOOD_FASTIFY_CONFIG,
  })

type error:

Types of property 'logger' are incompatible.
Two similar types have a property logger which is different, making them incompatible.

can be worked around with copy the original definition from redwood source like so, but i don’t think this is the right solution, it should be just work:

const DEFAULT_REDWOOD_FASTIFY_CONFIG: FastifyServerOptions = {
  requestTimeout: 15_000,
  logger: {
    // Note: If running locally using `yarn rw serve` you may want to adust
    // the default non-development level to `info`
    level:
      process.env.LOG_LEVEL ?? process.env.NODE_ENV === 'development'
        ? 'debug'
        : 'warn',
  },
}
  1. on line with await fastify.register(redwoodFastifyWeb)

  2. on line with await fastify.register(redwoodFastifyAPI)

  3. on line with await fastify.register(redwoodFastifyGraphQLServer)

To reproduce, just install new redwood app, then yarn rw setup exp server-file, then yarn rw setup exp realtime, then open vs-code and open the newly generated server.ts

i am not TS expert, appreciate any help. thanks