Class: Types::DesignManagement::DesignAtVersionType
- Inherits:
-
BaseObject
- Object
- GraphQL::Schema::Object
- BaseObject
- Types::DesignManagement::DesignAtVersionType
show all
- Defined in:
- app/graphql/types/design_management/design_at_version_type.rb
Instance Method Summary
collapse
Methods inherited from BaseObject
accepts, assignable?, authorization, authorization_scopes, authorize, authorized?, #current_user, #id
#present, #unpresented
Instance Method Details
#cached_stateful_version(_parent) ⇒ Object
28
29
30
|
# File 'app/graphql/types/design_management/design_at_version_type.rb', line 28
def cached_stateful_version(_parent)
version
end
|
#notes_count ⇒ Object
32
33
34
|
# File 'app/graphql/types/design_management/design_at_version_type.rb', line 32
def notes_count
design.user_notes_count
end
|