Method: GraphQL::Schema#lazy?

Defined in:
lib/graphql/schema.rb

#lazy?(obj) ⇒ Boolean

Returns True if this object should be lazily resolved.

Returns:

  • (Boolean)

    True if this object should be lazily resolved



532
533
534
# File 'lib/graphql/schema.rb', line 532

def lazy?(obj)
  !!lazy_method_name(obj)
end