hasura / hasura/codegen-assets
destructure the request payload for better readability of the generated code
Open
- Dominant language
- TypeScript
- Stars
- 28
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
We can generate:
```js
const {
input: { arg1, arg2 },
session_variables,
action: { name: actionName }
} = req.body;
```
Currently we just generate:
```js
const { arg1, arg2 } = req.body.input;
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.