lib/avromatic/model.rb in avromatic-1.0.0 vs lib/avromatic/model.rb in avromatic-2.0.0
- old
+ new
@@ -1,8 +1,12 @@
+# frozen_string_literal: true
+
require 'avromatic/model/builder'
+require 'avromatic/model/coercion_error'
require 'avromatic/model/message_decoder'
-require 'avromatic/model/type_registry'
-require 'avromatic/model/logical_types'
+require 'avromatic/model/custom_type_registry'
+require 'avromatic/model/validation_error'
+require 'avromatic/model/unknown_attribute_error'
module Avromatic
module Model
# Returns a module that can be included in a class to define a model