Module: Ecoportal::API::Common::GraphQL::Model::Diffable::HashDiff
- Defined in:
- lib/ecoportal/api/common/graphql/model/diffable/hash_diff.rb
Overview
Note:
this is a literal copy of ecoportal-api gem diff function.
ecoportal-api-graphql uses APIv2 DoubleModel inheritance chain,
and should rather adapt HashDiffPatch
Defined Under Namespace
Modules: InstanceMethods
Constant Summary collapse
- ID_KEYS =
%w[id].freeze
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
10 11 12 13 14 |
# File 'lib/ecoportal/api/common/graphql/model/diffable/hash_diff.rb', line 10 def included(base) super base.send :include, InstanceMethods end |