Module: SmartCore::Schema::Checker::Reconciler::Matcher::ResultFinalizer Private
- Defined in:
- lib/smart_core/schema/checker/reconciler/matcher/result_finalizer.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Constant Summary collapse
- ERRORS_CONTAINER_BUILDER =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
-> { Hash.new { |hash, key| hash[key] = Set.new } }
- EXTRA_KEYS_CONTAINER_BUILDER =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
-> { Set.new }
- SPREAD_KEYS_CONTAINER_BUILDER =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
-> { Set.new }
- EXTRA_KEY_ERROR_CODE =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
:extra_key
Class Method Summary collapse
-
.finalize(result) ⇒ SmartCore::Schema::Result
private
rubocop:disable Layout/LineLength.
Class Method Details
.finalize(result) ⇒ SmartCore::Schema::Result
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
rubocop:disable Layout/LineLength
41 42 43 44 45 |
# File 'lib/smart_core/schema/checker/reconciler/matcher/result_finalizer.rb', line 41 def finalize(result) schema_errors, extra_keys, spread_keys = aggregate_errors(result) schema_errors, extra_keys, spread_keys = compile_errors(schema_errors, extra_keys, spread_keys) build_final_result(result, schema_errors, extra_keys, spread_keys) end |