All Versions
17
Latest Version
Avg Release Cycle
8 days
Latest Release
-

Changelog History
Page 1

  • v1.5.0

    • ๐Ÿ‘ Added: Support for GraphQL Interpreter. #62
    • ๐Ÿ—„ Deprecated: BatchLoader.for in GraphQL. #62

    Please use BatchLoader::GraphQL.for instead:

    field :user, UserType, null: false
    
    def user # resolver
      BatchLoader::GraphQL.for...
    end
    

    Or wrap a BatchLoader instance with BatchLoader::GraphQL.wrap:

    field :user, UserType, null: false
    
    def user # resolver
      BatchLoader::GraphQL.wrap(lazy_user)
    end
    
    def lazy_user
      BatchLoader.for...
    end
    
  • v1.4.1

    • ๐Ÿ›  Fixes: Does not allow mutating and corrupting a list of items in a batch block. #46
  • v1.4.0

    • Added: new replace_methods argument to BatchLoader#batch to allow control over define_method calls. #45
  • v1.3.0

    • Added: BatchLoader::GraphQL.for to make it compatible with graphql gem versions >= 1.8.7. #30
  • v1.2.2

    • ๐Ÿ›  Fixed: Identify item by key object instead of key string representation. #27
  • v1.2.1

    • Fixed: Do not depend on method_missing for respond_to?. #14
  • v1.2.0

    • Added: key argument for the BatchLoader#batch method. #12
  • v1.1.1

    • ๐Ÿ›  Fixed: loader, made it thread-safe again. #10
  • v1.1.0

    • 0๏ธโƒฃ Added: default_value override option. #8
    • Added: loader.call {} block syntax, for memoizing repeat calls to the same item. #8
  • v1.0.4

    • ๐Ÿ›  Fixed: Fix arity bug in respond_to? #3