Module: Axn::Core::SchemaReflection::InputSchemaMethod

Defined in:
lib/axn/core/schema_reflection.rb

Instance Method Summary collapse

Instance Method Details

#input_schemaObject

The property-name rules run here rather than at declaration: a projection is the only thing a colliding or unrenderable name can harm, and this is where one is first demanded. Validated once per class, over the schema being returned rather than a second build of it.



36
37
38
39
# File 'lib/axn/core/schema_reflection.rb', line 36

def input_schema
  Axn::Internal::Reflection::PropertyNames.validated_input(self) { Axn::Internal::Reflection::Schema.build_input_for(self) }
                                          .tap { _warn_dropped_deep_subfields }
end