Method: GraphQL::Types::BigInt.coerce_input

Defined in:
lib/graphql/types/big_int.rb

.coerce_input(value, _ctx) ⇒ Object



8
9
10
11
12
# File 'lib/graphql/types/big_int.rb', line 8

def self.coerce_input(value, _ctx)
  value && parse_int(value)
rescue ArgumentError
  nil
end