lib/data_model.rb in data_model-0.2.0 vs lib/data_model.rb in data_model-0.3.0

- old
+ new

@@ -39,6 +39,11 @@ model = Model.new(schema, type) return model end + + sig { params(name: Symbol, type: T.class_of(Type)).void } + def register_global_type(name, type) + TypeRegistry.register(name, type) + end end