#dry_schema — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #dry_schema, aggregated by home.social.
-
Ran into a weird NilClass exception in dry-logic via dry-validation when trying to validate an empty String value. ¯\(°_o)/¯
https://discourse.dry-rb.org/t/strange-dry-validation-dry-schema-bug/1749
#dry_validations #dry_schema -
Ran into a weird NilClass exception in dry-logic via dry-validation when trying to validate an empty String value. ¯\(°_o)/¯
https://discourse.dry-rb.org/t/strange-dry-validation-dry-schema-bug/1749
#dry_validations #dry_schema -
Ran into a weird NilClass exception in dry-logic via dry-validation when trying to validate an empty String value. ¯\(°_o)/¯
https://discourse.dry-rb.org/t/strange-dry-validation-dry-schema-bug/1749
#dry_validations #dry_schema -
Ran into a weird NilClass exception in dry-logic via dry-validation when trying to validate an empty String value. ¯\(°_o)/¯
https://discourse.dry-rb.org/t/strange-dry-validation-dry-schema-bug/1749
#dry_validations #dry_schema -
Ran into a weird NilClass exception in dry-logic via dry-validation when trying to validate an empty String value. ¯\(°_o)/¯
https://discourse.dry-rb.org/t/strange-dry-validation-dry-schema-bug/1749
#dry_validations #dry_schema -
How would you use dry-types/dry-schema to map a finite set of possible Strings to
a finite set of Symbols? `Types::String.enum('string' => :symbol)` only seems to map Strings and Symbols to Strings. I need the output to be Symbols.Input: ['syn', 'ack']
Output: [:syn, :ack] -
How would you use dry-types/dry-schema to map a finite set of possible Strings to
a finite set of Symbols? `Types::String.enum('string' => :symbol)` only seems to map Strings and Symbols to Strings. I need the output to be Symbols.Input: ['syn', 'ack']
Output: [:syn, :ack] -
How would you use dry-types/dry-schema to map a finite set of possible Strings to
a finite set of Symbols? `Types::String.enum('string' => :symbol)` only seems to map Strings and Symbols to Strings. I need the output to be Symbols.Input: ['syn', 'ack']
Output: [:syn, :ack] -
How would you use dry-types/dry-schema to map a finite set of possible Strings to
a finite set of Symbols? `Types::String.enum('string' => :symbol)` only seems to map Strings and Symbols to Strings. I need the output to be Symbols.Input: ['syn', 'ack']
Output: [:syn, :ack] -
How would you use dry-types/dry-schema to map a finite set of possible Strings to
a finite set of Symbols? `Types::String.enum('string' => :symbol)` only seems to map Strings and Symbols to Strings. I need the output to be Symbols.Input: ['syn', 'ack']
Output: [:syn, :ack]