lib/ecoportal/api/graphql/input/contractor_entity/update.rb in ecoportal-api-graphql-0.3.15 vs lib/ecoportal/api/graphql/input/contractor_entity/update.rb in ecoportal-api-graphql-0.3.16
- old
+ new
@@ -1,9 +1,15 @@
module Ecoportal
module API
class GraphQL
module Input
- class Update < Ecoportal::API::GraphQL::Input::ContractorEntity::Create
+ module ContractorEntity
+ class Update < Ecoportal::API::GraphQL::Input::ContractorEntity::Create
+ passthrough :clientMutationId
+ class_resolver :id_diff_input, "Ecoportal::API::GraphQL::Input::IdDiff"
+ embeds_one :associatedPeopleIds, klass: :id_diff_input
+ embeds_one :leadContractorIds, klass: :id_diff_input
+ end
end
end
end
end
end