Skip to content

Releases: Urigo/graphql-modules

v0.2.18

24 Dec 11:25
Compare
Choose a tag to compare

epoxy

  • Fixed issues with merging GraphQL schemas that uses extend type syntax (#238)

core

di

  • Fixed issues with exported ProviderScope (now exported as valid enum)

v0.2.17

04 Dec 11:37
Compare
Choose a tag to compare
  • DI package is now seperated;
    • Injectable and Inject are now in @graphql-modules/di instead of @graphql-modules/core
  • Do not add an extra schema definition to the final typeDefs.
  • Introduce configRequired option; if it is true, it won't be able to generate schema without a valid configuration.
  • directiveResolvers support
  • Injection for factory functions using Inject decorator-like function.
  • Middleware option to mutate schema and injector
  • Fix schema merging
  • Do not emit scalars

v0.2.10

26 Nov 23:19
Compare
Choose a tag to compare

core

  • Fix IResolver typings
  • You can disable circular imports
    • mergeCircularImports: false
  • You can manipulate schema and other generated parts of module using middleware
    • middleware: ({ schema }) => { /*some logic*/ return { schema }; }

epoxy

  • Extension nodes are now supported
    • extend type Something
  • SchemaDefinition generation are now optional
    • useSchemaDefinition

v0.2.7

21 Nov 10:20
Compare
Choose a tag to compare

Epoxy

  • Fixed issue with schema merging where the root type names are different than the default (Query, Mutation, Subscription) (#195)

v0.2.6

20 Nov 19:30
Compare
Choose a tag to compare

Epoxy

  • Support resolvers factories
  • Fix content concatenation

Docs

  • Some updates

v0.2.5

20 Nov 00:48
Compare
Choose a tag to compare

Epoxy

  • Expose DocumentNode instead of string.

Core

  • Reflect the changes from epoxy API to expose DocumentNode.

Utils

  • Added missing getFieldsWithDirectives function.

v0.2.4

17 Nov 02:45
Compare
Choose a tag to compare

Epoxy

Logger

  • Logger package is now removed.

Core

  • Allow extraSchemas to be loaded into a module

v0.2.3

16 Nov 03:02
Compare
Choose a tag to compare

Core

  • Added missing config field inside GraphQLModule
  • Now reflect-metadata is optional dependency, but it should be added for DI.
  • Do not merge deeply contextBuilder results, use shallow merge instead to keep complex object types.

v0.2.1

13 Nov 06:38
Compare
Choose a tag to compare

Core

  • Update dependencies and clean unused (#162, thanks @Intellicode)
  • Better error handling (bb0d398, 39021d6), now each error will point to the correct module that caused it.
  • Fixed issue with non-promise contextBuilder (04fdfb1)
  • Fix for non-functions resolvers (such as, directive resolver) (4c6ca80)
  • Removed warnings that comes from makeExecutableSchema (18c2cd3)
  • Do not try to call onRequest on non-object providers (c70b9f9)
  • Added support for schemaDirectives (76b2d15)
  • DI refactor and remove config from factory functions (ae947bf, 03b7fd0)

Epoxy

  • Fixed directive merging when trying to merge two GraphQLSchema objects (#185)
  • Fixed non-null array merging (fde72cc)

Docs / Website