hasura / hasura/graphql-engine
Action Transform Issues (Docs/CLI Support/Metadata export)
- Dominant language
- TypeScript
- Stars
- 32.1k
- Forks
- 3k
- PR merge metrics
- PR metrics pending
Description
### Version Information
Server Version:
CLI Version (for CLI related issue): 2.0.4
Image: v2.1.0-beta.2.cli-migrations-v3
### Environment
Docker Container, self hosted
### What is the expected behaviour?
There is currently no documentation for [Action Transform](https://hasura.io/docs/latest/graphql/core/actions/transforms.html) support for CLI, even though it can currently be configured through `actions.yaml`.
Also, once an action transform is configured in the console, running `hasura metadata export` should export the transform information so that it can be instantly configured on a fresh instance.
### Keywords
Action Transforms
### What is the current behaviour?
After creating a new action with a transform in the console and running `hasura metadata export`, the transform information is missing
```
- name: getMetadata
definition:
kind: ""
handler: https://arweave.net
<----- This is missing ----->
request_transform:
method: GET
url: '{{$base_url}}/{{$body.input.id}}'
<--------------------------------->
```
### How to reproduce the issue?
1. Create new action with transform configured
2. Run `export metadata`
3. Tear down hasura server and create a fresh install with exported metadata
### Screenshots or Screencast

Contributor guide
Research direction
Start with the Action Transform documentation and the actions.yaml configuration referenced in the issue, then trace the hasura metadata export command. Verify how a console-created action transform is represented in exported metadata and confirm that a fresh installation restores it; document the supported CLI configuration as part of the completed work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, graphql
- Domain
- api, cli, documentation
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100