Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

@gehtalles-de

Description

@gehtalles-de

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

Metadata

Metadata

Assignees

Labels

EnhancementNew feature or request

Projects

Status

📋 Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions