dotansimha / dotansimha/graphql-code-generator

fragment-matcher fails with @stream/defer directives

Open
#10,894 4 comments 1 reaction 1 assignee Claimed by @eddeee888 View on GitHub
waiting-for-answer
Dominant language
TypeScript
Stars
11.3k
Forks
1.4k
Avg merge
1d 1h
Merged PRs (30d)
23

Description

### Which packages are impacted by your issue?

@graphql-codegen/fragment-matcher

### Describe the bug

The fragment-matcher does not successfully generate schema when @defer/stream is active, presumably because it runs execute()

### Steps to Reproduce the Bug or Issue

Try to run fragment-matcher with @defer or stream active

### Expected behavior

Successful fragment generation

### Screenshots or Videos

```
✖ The provided schema unexpectedly contains experimental directives (@defer or @stream). These directives may only be utilized if experimental execution features are explicitly
enabled.
✖ One or more errors occurred, no files were generated. To allow output on errors, set config.allowPartialOutputs=true
```

### Platform

- @graphql-codegen/fragment-matcher: 7.1.0
- @graphql-codegen/cli: 7.2.0
- graphql: 17.0.0-alpha.9

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.