Closed virtualirfan closed 7 years ago
It appears that in JS land for Facebook's relay, ConcreteBatch has these fields.
ConcreteBatch
/: ConcreteBatch/ { "fragment": {…}, "id": null, "kind": "Batch", "metadata": {}, "name": "appQuery", "query": {…}, "text": {…}, };
In particular, I needed to reference .text field of the Scala type ConcreteBatch to pull out the flattened representation of the Query from JS land.
.text
I'll attach a simple PR.
<original issue was closed by Rakshak Bot.
The PR is here: https://github.com/scalajs-react-interface/relay/pull/1#pullrequestreview-45866551
It appears that in JS land for Facebook's relay,
ConcreteBatch
has these fields./: ConcreteBatch/ { "fragment": {…}, "id": null, "kind": "Batch", "metadata": {}, "name": "appQuery", "query": {…}, "text": {…}, };
In particular, I needed to reference
.text
field of the Scala type ConcreteBatch to pull out the flattened representation of the Query from JS land.I'll attach a simple PR.