Make a library to compose GraphQL request from associative array and disassemble it to array from string

Created on 18 March 2025, about 2 months ago

Problem/Motivation

On FE we use https://github.com/john-yuan/graphql-toolkit/tree/main/packages/generate... to compose GraphQL queries and it's much more convenient than the PHP ones.

Also, on the PHP side, we need a lib to convert GraphQL query from string back to the array (to handle requests from FE).

So, would be great to create a separate library that can operate with GraphQL requests as an associative array, and decompose the GraphQL query from the string back to the array.

Feature request
Status

Active

Version

2.0

Component

Code

Created by

🇦🇲Armenia murz Yerevan, Armenia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024