lib/deimos/config/configuration.rb in deimos-ruby-1.23.3 vs lib/deimos/config/configuration.rb in deimos-ruby-1.24.0
- old
+ new
@@ -378,10 +378,16 @@
# @return [Boolean]
setting :nest_child_schemas, true
# Set to true to generate folders matching the last part of the schema namespace.
# @return [Boolean]
- setting :generate_namespace_folders, false
+ setting :use_full_namespace, false
+
+ # Use this option to reduce nesting when using use_full_namespace.
+ # For example: { 'com.mycompany.suborg' => 'SchemaClasses' }
+ # would replace a prefixed with the given key with the module name SchemaClasses.
+ # @return [Hash]
+ setting :schema_namespace_map, {}
end
# The configured metrics provider.
# @return [Metrics::Provider]
setting :metrics, default_proc: proc { Metrics::Mock.new }