hasura / hasura/codegen-assets

if an action returns a list of objects, codegen still returns an object

Open
#28 5 comments 5 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
28
Forks
18
PR merge metrics
No merged PRs in 30d

Description

These are the bunch of cases where codegen does incorrect things:

1. If the derived action returns an object but the parent operation returns a list, it causes runtime error.
2. If an action returns a list, codegen still returns just an object

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.