Sha256: f6f397b817d45f8acd636173a6064a10a2fb1f66b33d100b8c8a4e38e041144a

Contents?: true

Size: 321 Bytes

Versions: 2

Compression:

Stored size: 321 Bytes

Contents

# typed: strict

module Typed
  module Coercion
    module Coercer
      extend T::Sig
      extend T::Generic

      abstract!

      Target = type_member(:out)

      sig { abstract.params(field: Field, value: Value).returns(Result[Target, CoercionError]) }
      def coerce(field:, value:)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sorbet-schema-0.1.1 lib/typed/coercion/coercer.rb
sorbet-schema-0.1.0 lib/typed/coercion/coercer.rb