diff --git a/app/graphql/types/base_argument.rb b/app/graphql/types/base_argument.rb index 2e2278c5a..944888bf3 100644 --- a/app/graphql/types/base_argument.rb +++ b/app/graphql/types/base_argument.rb @@ -2,5 +2,8 @@ module Types class BaseArgument < GraphQL::Schema::Argument + def initialize(*args, camelize: false, **kwargs, &block) + super + end end end diff --git a/app/graphql/types/base_field.rb b/app/graphql/types/base_field.rb index 611eb0560..1ecb4b798 100644 --- a/app/graphql/types/base_field.rb +++ b/app/graphql/types/base_field.rb @@ -3,5 +3,9 @@ module Types class BaseField < GraphQL::Schema::Field argument_class Types::BaseArgument + + def initialize(*args, camelize: false, **kwargs, &block) + super + end end end