Module: Ecoportal::API::Common::GraphQL::Model::Diffable::HashDiffNesting
- Extended by:
- InstanceMethods
- Included in:
- ClassicDiffService, DiffService
- Defined in:
- lib/ecoportal/api/common/graphql/model/diffable/hash_diff_nesting.rb
Overview
TODO:
the aim is to adapt it by:
- Removing the
patch_vermodel ✅ - Using symbol keys ✅
Note:
this is a literal copy of ecoportal-api-v2 gem has_diff function.
Defined Under Namespace
Modules: InstanceMethods
Constant Summary collapse
- META_KEYS =
%i[id].freeze
- NO_CHANGES =
"%not-changed!%".freeze
Class Method Summary collapse
Methods included from InstanceMethods
Class Method Details
.included(base) ⇒ Object
9 10 11 12 13 |
# File 'lib/ecoportal/api/common/graphql/model/diffable/hash_diff_nesting.rb', line 9 def included(base) super base.send :include, InstanceMethods end |