Skip to content

Files

Latest commit

 

History

History
27 lines (18 loc) · 448 Bytes

GraphQL-LegacyDsl.md

File metadata and controls

27 lines (18 loc) · 448 Bytes

Pattern: Use of legacy type-based definition

Issue: -

Description

Checks whether type definitions are class-based or legacy.

Examples

# good
class Example < BaseType
  ....
end

# bad
Example = GraphQL::ObjectType.define do
  ....
  ....
end

Further Reading