lib/sorbet-schema.rb in sorbet-schema-0.6.0 vs lib/sorbet-schema.rb in sorbet-schema-0.7.0
- old
+ new
@@ -14,13 +14,14 @@
loader.inflector.inflect(
"json_serializer" => "JSONSerializer"
)
loader.setup
-# We don't want to place this in the `Typed` module.
+# We don't want to place these in the `Typed` module.
# `sorbet-schema` is a directory that is not autoloaded
# but contains extensions, so we need to manually require it.
require_relative "sorbet-schema/hash_transformer"
+require_relative "sorbet-schema/serialize_value"
# We want to add a default `schema` method to structs
# that will guarentee a schema can be created for use
# with serialization. This can (and should) be overridden
# in child struct classes.