Create a constructor and parser for GraphQL "where" parameter

Created on 18 March 2025, about 2 months ago

Problem/Motivation

Commercetools GraphQL provides the "where" parameter which it accepts as a string: https://docs.commercetools.com/api/predicates/query

Now we're composing it as string, but it's better to create a class that constructs it and generates a string.

Also, it should be able to parse the string to a structure, because we're receiving the "where" as string from FE queries and need to parse it to properly cache the operation.

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