import { Transport, ClientOptions } from '@nestjs/microservices';
import { join } from 'path';

export const grpcClientOptions: ClientOptions = {
  transport: Transport.GRPC,
  options: {
    url: process.env.GRPC_URL,
    package: 'scene',
    protoPath: join(__dirname, '..', 'proto/scene.proto'),
    // loader: {
    //   keepCase: false,
    // }
  },
};
