dotansimha / dotansimha/graphql-code-generator-community

Visiting the C# Operations example with the default stuff on the website is currently broken with the below error.

Open
#370 0 comments 0 reactions 0 assignees View on GitHub
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

The website has a broken C# Operations example, and currently I am also unable to use the package in my own repo.

Website error:
```
e.map is not a function. (In 'e.map(e=>this.getFragmentVariableName(e))', 'e.map' is undefined)
```

### Your Example Website or App

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

### Steps to Reproduce the Bug or Issue

1. Visit https://the-guild.dev/graphql/codegen
2. Select C# Operations
3. Observe the error in the output.

### Expected behavior

It should work on your website.

### Screenshots or Videos

Screenshot 2023-06-30 at 5 12 13 PM

### Platform

- OS: [e.g. macOS, Windows, Linux]
- NodeJS: [e.g. 18.5.0]
- `graphql` version: [e.g. 16.3.0]
- `@graphql-codegen/*` version(s): [e.g. 2.6.2]

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