Skip to content

Commit

Permalink
chore: fix kwargs for example app
Browse files Browse the repository at this point in the history
  • Loading branch information
rperryng committed Jul 10, 2024
1 parent e7db029 commit 39967f1
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions examples/simple-api/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,12 @@ def post(input:, test:)
class Schema < GraphQL::Schema
query QueryType

use(GraphQL::Hive, { buffer_size: 2, token: 'YOUR_TOKEN', debug: true, reporting: { author: 'Charly Poly', commit: '109bb1e748bae21bdfe663c0ffc7e830' }, client_info: proc { |context|
{ name: context[:client_name], version: context[:client_version] }
} })
use(
GraphQL::Hive,
buffer_size: 2,
token: 'YOUR_TOKEN',
debug: true,
reporting: { author: 'Charly Poly', commit: '109bb1e748bae21bdfe663c0ffc7e830' },
client_info: proc { |context|{ name: context[:client_name], version: context[:client_version] }}
)
end

0 comments on commit 39967f1

Please sign in to comment.