Module: GraphQL::Schema::AlwaysVisible
- Defined in:
- lib/graphql/schema/always_visible.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.use(schema, **opts) ⇒ Object
5 6 7 |
# File 'lib/graphql/schema/always_visible.rb', line 5 def self.use(schema, **opts) schema.extend(self) end |
Instance Method Details
#visible?(_member, _context) ⇒ Boolean
9 10 11 |
# File 'lib/graphql/schema/always_visible.rb', line 9 def visible?(_member, _context) true end |