Sanity check that uri is possibly valid

Stephen Paul Weber created

Change summary

lib/customer_fwd.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

lib/customer_fwd.rb 🔗

@@ -40,7 +40,7 @@ class CustomerFwd
 	end
 
 	value_semantics do
-		uri Either(String, NilClass)
+		uri Either(/:/, NilClass)
 		def_attr :timeout, Timeout, coerce: Timeout.method(:new)
 	end