@graphql-codegen/cli@7.3.0
Minor Changes
-
#10921
58cdb31
Thanks @eddeee888! - Extendoverwritewith
overwrite.removeStaleFilesandoverwrite.updateExistingFilesoverwritewas being used to both remove stale files in watch mode and update existing files.
Some plugins such as Server Preset may dynamically return files to write between watch runs (for
performance purposes).The
overwritecan now take an object withoverwrite.removeStaleFilesand
overwrite.updateExistingFilesfields to allow granular control over actions.This is not a breaking change because
overwrite=true|falsestill works.
Patch Changes
- Updated dependencies
[58cdb31]:- @graphql-codegen/plugin-helpers@7.2.0
@graphql-codegen/plugin-helpers@7.2.0
Minor Changes
-
#10921
58cdb31
Thanks @eddeee888! - Extendoverwritewith
overwrite.removeStaleFilesandoverwrite.updateExistingFilesoverwritewas being used to both remove stale files in watch mode and update existing files.
Some plugins such as Server Preset may dynamically return files to write between watch runs (for
performance purposes).The
overwritecan now take an object withoverwrite.removeStaleFilesand
overwrite.updateExistingFilesfields to allow granular control over actions.This is not a breaking change because
overwrite=true|falsestill works.