hasura / hasura/graphql-engine

transforms: show header transforms in UI

Open
#8,283 3 comments 1 reaction 0 assignees View on GitHub
c/actions k/enhancement k/v3-beta
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

I have created an action query like this

```
type Query {
""" Institutions by Specialty """ mt_institutions_by_specialty(
specialty_id: String!
): Institutions
}
```

Now I need to use that speciality_id input as a value in the Headers section bellow. But {{$body.input.speciality_id}} does not convert. It works only in the "Change Request Options" section.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the action query and comparing the transform behavior in the Headers section with the Change Request Options section. Trace where the header value is evaluated; done when {{$body.input.speciality_id}} resolves in Headers as it already does in Change Request Options.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, typescript
Domain
api, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.