Exception: Graphiti::Errors::UndefinedIDLookup
- Defined in:
- lib/graphiti/errors.rb
Instance Method Summary collapse
-
#initialize(resource_class) ⇒ UndefinedIDLookup
constructor
A new instance of UndefinedIDLookup.
- #message ⇒ Object
Constructor Details
#initialize(resource_class) ⇒ UndefinedIDLookup
Returns a new instance of UndefinedIDLookup.
370 371 372 |
# File 'lib/graphiti/errors.rb', line 370 def initialize(resource_class) @resource_class = resource_class end |
Instance Method Details
#message ⇒ Object
374 375 376 377 378 379 380 |
# File 'lib/graphiti/errors.rb', line 374 def <<~MSG Tried to resolve #{@resource_class} with an :id filter, but the filter was nil. This can result in unscoping a query, which can cause incorrect values to be returned which may or may not bypass standard access controls. MSG end |