This repository has been archived by the owner on Jan 4, 2020. It is now read-only.
Releases: graphql-factory/graphql-factory
Releases · graphql-factory/graphql-factory
v3.0.0-alpha.0
- First alpha release with new API
v2.1.0
- added
fieldDef
to the resolver context which points to the fields definition. This makes reading custom metadata set on the field for things like plugins easier. - Modified middleware resolver to bypass middleware for things like type resolvers
- added eslint and linted all code in
/src
- added eventing in the factory and definition to forward up logs that can be passed to a logger like bunyan
- additionally, any logs with an
error
level will throw an exception during the make process (by design)
- additionally, any logs with an
- added a validation check to the definition after compile which emits an error to the factory instead of the previous behavior where it would log to the console.
- updated build scripts to use latest version of rollup and babel-env preset
- added a
log
method to the definition which forwards up to the factory - fixed a middleware bug where failed middleware would still execute the resolver function instead of immediately failing the request.
- added the
graphql-factory-types
plugin as part of the library. it can be added with the string literaltypes
in the plugins array of the make method.- this will be the same for any included plugins shipped in the future
v2.0.0
v1.1.0
v1.0.2
v1.0.1
v1.0.0
- Complete rewrite (passing all original tests)
- Separated functionality into classes
- Now the main factory lib exports several classes that can be used for creating factory plugins
- Definitions are now always compiled in order to remove redundant processing of definitions
v0.4.8
- removed
safeQuotes
option fromtoObjectString
now all double quotes will be escaped - added string syntax for enums
Enum::<ENUM>
intoObjectString
function - updated GraphQL dev dependency to
^0.8.0
and tested with0.8.2
- updated rollup dev dependency to
^0.36.0
- added new tests for
toObjectString