Skip to content

Hasura should emit codegen files #6556

@jgoux

Description

@jgoux

Hello all,

Today I find Hasura action's highly impratical in term of integration with TypeScript.

The codegen tab is a good idea, but why stop there and make people copy/paste code? It would be way better to emit at least the hasuraCustomTypes.ts file so we can directly import it and it becomes a reliable artefact. The console could just reflect changes to this file anytime we use the UI the modify the actions, and without touching anything else we would know that we broke our handler.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions