lib/ecoportal/api/graphql/model/location_structure.rb in ecoportal-api-graphql-0.3.7 vs lib/ecoportal/api/graphql/model/location_structure.rb in ecoportal-api-graphql-0.3.8

- old
+ new

@@ -1,10 +1,11 @@ module Ecoportal module API class GraphQL module Model class LocationStructure < Ecoportal::API::GraphQL::Base::LocationStructure - embeds_many :nodes, klass: Ecoportal::API::GraphQL::Model::LocationNode, order_key: :weight + embeds_many :nodes, klass: Model::LocationNode, order_key: :weight + embeds_one :lastUpdatedBy, klass: "Ecoportal::API::GraphQL::Model::User" end end end end end