facebook / facebook/relay

GraphQLTaggedNode params is missing in ReaderFragment

Open
#3,360 1 comment 1 reaction 0 assignees View on GitHub
wontfix
Dominant language
Rust
Stars
19k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

Im getting this flow error on fragments

**Cannot get `macroQuery.params` because property `params` is missing in `ReaderFragment` [1].Flow(prop-missing)
GraphQLTag.js.flow(42, 43): [1] `ReaderFragment`**

But it's there when I log it out:

![image](https://user-images.githubusercontent.com/5871660/108418321-27860780-71d5-11eb-97c8-b8983d9f7472.png)

"relay-compiler": "^10.1.0",
"relay-compiler-language-js-flow-uncommented": "^2.0.0",
"relay-config": "^10.1.0",
"relay-runtime": "^10.1.3",

![image](https://user-images.githubusercontent.com/5871660/108418683-ac712100-71d5-11eb-964d-4419032815b5.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.