graphql

fabrao 2021-02-18T07:37:12.047200Z

Hello all, I´m trying to use apollo angular with lacinia, but I could not use variables, is Lacinia parse something like this?

{"variables":{"idFlow":1},"query":"{\n  flowDefinitionById(id_flow: $idFlow) {\n    id_flow\n    nm_flow\n    id_company\n    tx_definition\n    __typename\n  }\n}\n"}

2021-02-18T07:56:36.048900Z

You did not declare your variable in the query, say query MyQuery($idFlow: Int!) { … }

👍 1