dotansimha / dotansimha/graphql-code-generator-community

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

Open
#379 1 comment 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
TypeScript
Stars
137
Forks
195
Avg merge
6h 20m
Merged PRs (30d)
16

Description

### 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_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.