1 stable release
2.0.1 | Nov 24, 2022 |
---|
#473 in Build Utils
660KB
12K
SLoC
Contains (Mach-o exe, 510KB) safe-urqlcodgen-mutations
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?
- Place the binary in your project root directory.
- Create a safe-urqlcodgen-mutations.conf file at your root directory
- Inside the conf file add a line: generated_path={your_codegen_generated_path} Eg: generated_path=src/@generated
- Run the binary
- Mutations should be emitted in the same path