Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat]: Insert an optional transformer for query outputs #212

Open
gehtalles-de opened this issue Jun 18, 2023 · 1 comment
Open

[Feat]: Insert an optional transformer for query outputs #212

gehtalles-de opened this issue Jun 18, 2023 · 1 comment
Assignees
Labels
Enhancement New feature or request

Comments

@gehtalles-de
Copy link

Is your feature request related to a problem? Please describe.
I'm using Graphql for my queries. The response format looks like this: {data: product: {id: 1}}}.
When I need to use this data I need to write queryProducts.data.data.product.id.
I could solve this by using a transformProducts transformfer that returns the nested data but that's annoying.

Describe the solution you'd like
In Retool I can attach a transformer right before the query output inside the query editor and I really like this solution as it is a regular need to add or change data of a query and it leaves the query list manageable.

Describe alternatives you've considered

  • Adding a transformer for each query
  • Somehow using a transformer language for Json like JSONata
@gehtalles-de gehtalles-de added the Enhancement New feature or request label Jun 18, 2023
@FalkWolsky FalkWolsky moved this to 📋 Backlog in Lowcoder Jul 2, 2023
@FalkWolsky
Copy link
Contributor

Yea! We also had a look at https://jmespath.org, as we have a similar solution as an idea. But JSONata has a bigger feature set and it seems still active in contributions. A fantastic hint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
Status: 📋 Backlog
Development

No branches or pull requests

3 participants