Sha256: c3044d580d8706b57df1751a3ed6d41944b70ebe024c6d8c3be25dd4522a4b4e
Contents?: true
Size: 405 Bytes
Versions: 26
Compression:
Stored size: 405 Bytes
Contents
# Monkey patch... there will soon be a PR in graphql-ruby for this functionality, # Talked with the gem author (@rmosolgo) and he said it was a good feature, so likely to land soon class GraphQL::Schema::MiddlewareChain def call(next_arguments = @arguments) @arguments = next_arguments next_step = steps.shift next_middleware = self next_step.call(*arguments, next_middleware) end end
Version data entries
26 entries across 26 versions & 1 rubygems