safe-urqlcodgen-mutations

Crates.iosafe-urqlcodgen-mutations
lib.rssafe-urqlcodgen-mutations
version2.0.1
sourcesrc
created_at2022-11-24 05:14:27.175377
updated_at2022-11-24 05:14:27.175377
descriptiondeploy a rust project to npm in one command.
homepagehttps://github.com/xamogh/safe-urqlcodgen-mutations
repositoryhttps://github.com/xamogh/safe-urqlcodgen-mutations
max_upload_size
id722005
size1,645,540
Amogh Rijal (xamogh)

documentation

README

safe-urql-urqlcodegen-mutations

Reads codegen generated graphql.ts file, then catches all the mutations, enhances them with excess property filters and warnings, and writes into a new generated file.

How to run?

  1. Place the binary in your project root directory.
  2. Create a safe-urqlcodgen-mutations.conf file at your root directory
  3. Inside the conf file add a line: generated_path={your_codegen_generated_path} Eg: generated_path=src/@generated
  4. Run the binary
  5. Mutations should be emitted in the same path
Commit count: 46

cargo fmt