- 45f09ef: Fix up some more alias resolution in graphql-flow.
- d872096: Add alias resolution.
- c6be76f: Search through untracked files for graphql-tag. Don't error out on files that can't be found.
- ad68019: Update 'graphql' to 16.3.x (requires consumers to change their version of 'graphql')
- 38eb544: Generate TypeScript directly and only TypeScript
- 2933c91: Migrate to TypeScript
- e1e9fde: Add --omitFileExtensions option
- 9867001: Fix empty variables object
- a581359: Fix processing of typescript imports that don't use an extension
- c7367a1: Basic TypeScript support!
-
1e1de13: BREAKING: Change config file format, split into 'crawl' and 'generate' sections See schema.json for new organization.
-
284be55: [breaking] remove support for running graphql-flow via jest
Now the cli tool is the only way to invoke graphql-flow.
-
9f7f2d1: Breaking: removed support for multiple config files (to be replaced with override support in the central config file)
-
a99fc38: Support multiple 'generate' configs, allowing projects to have different settings for different directories or files
config.generate
can now be an object or an array of objects, withmatch
andexclude
arrays (either a RegExp or a string that will be passed tonew RegExp()
) to fine-tune which files they apply to.
- bcc06d0: Use jsonschema for validating the config file
- 093fa5f: Enable
experimentalEnums
in a config or subconfig file in to enable the export of flow enum types, which replace the default string union literals. The type currently comes with eslint decorators to skirt a bug in eslint and flow. - 5078624: Users can add files with the name ending in
graphql-flow.config.js
with a subset of the config fields (options
,excludes
) in order to have more granular control of the behavior. Another field,extends
, takes the path of another config file to use as a base and extends/overrides fields. If noextends
is provided, the file completely overwrites any other config files (as far asoptions
andexcludes
).
- 0df32ac: Allow generatedDir to be an absolute path
- 843839c: Add 'dumpOperations' config option, to enable safelisting
- f5ea353: Add 'typeFileName' config option to fit the mobile repo's expectations
- 31dd235: Compile for node 12 instead of 16
- e8a8025: Add shebang to the exported binary, so that it runs
- d9a8229: Generate types for fragments!
- 7497164: Fix a bug in index file generation that resulted in duplicate entries
- 26abf9b: Add options for specifying the name of the generated directory, and for exporting the response and variables types.
- b08ed1b: Build out a cli tool that does our own parsing of javascript files, dramatically speeding things up!
- 8cdcdc2: Support inline fragments on objects
- fd5c6b7: Allow schema to be provided as a .graphql file, not just .json
- 6869203: Add 'ignorePragma' option, to allow skipping of documents
- 9810bfe: Allow customization of the "regenerate command" that's in the file docstrings
- 7d27337: Support custom scalars as variables in an operation
- a4ae2c8: First release! Hoping this works.
- a3e8461: Make a simple change to check out the changeset stuff
- a64c3c7: First release! Hoping this works.