Skip to content

Commit

Permalink
feat: Add 'code' field to GraphQL CaseType for cas
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] committed Jan 23, 2024
1 parent 84946ea commit b951afb
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions backend/graphql/types/case_type.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module Types
class CaseType < Types::BaseObject
field :id, ID, null: false
field :name, String, null: false
field :status, Types::StatusType, null: false
field :priority, Types::PriorityType, null: false
field :created_by, Types::UserType, null: false
field :assigned_to, Types::UserType, null: true
field :description, String, null: true
field :created_at, GraphQL::Types::ISO8601DateTime, null: false
field :updated_at, GraphQL::Types::ISO8601DateTime, null: false
field :code, String, null: false
end
end

0 comments on commit b951afb

Please sign in to comment.