dotansimha/graphql-code-generator-community

C-sharp-operations fails with `fragmentNames.map is not a function`

开放

#379 创建于 2023年7月14日

 (1 条评论) (0 个反应) (0 位负责人)TypeScript (195 个派生)github user discovery
help wanted

仓库指标

星标
 (136 个星标)
PR 合并指标
 (平均合并 1天 11小时) (30 天内合并 28 个 PR)

描述

Which packages are impacted by your issue?

@graphql-codegen/c-sharp-operations

Describe the bug

This issue also reproduces in https://the-guild.dev/graphql/codegen where if you choose the C# operations, it will fail with e.map is not a function, which I guess is the same error, but with a minified script.

Is there a known version combination where the c-sharp-operations plugin worked?

Your Example Website or App

https://the-guild.dev/graphql/codegen

Steps to Reproduce the Bug or Issue

The failing example in the website is a good reproduction.

Expected behavior

As a user, I expect the "hello world" example to succeed

Screenshots or Videos

No response

Platform

  • OS: Windows
  • NodeJS: 18.16.1
  • graphql version: various
  • @graphql-codegen/c-sharp-operations version(s): 2.3.1

Codegen Config File

No response

Additional context

No response

贡献者指南