module GraphQL::DeprecatedDSL::Methods

Public Instance Methods

!() click to toggle source
# File lib/graphql/deprecated_dsl.rb, line 34
def !
  deprecated_caller = caller(1, 1).first
  GraphQL::Deprecation.warn "DeprecatedDSL will be removed from GraphQL-Ruby 2.0, use `.to_non_null_type` instead of `!` at #{deprecated_caller}"
  to_non_null_type
end