Phase 1: Foundation Types (100% complete)
- query_helpers: SQL LIKE sanitization with pipe operators
- numeric: Integer parsing with pattern matching guards
- result: Pure Elixir Result monad (map, and_then, unwrap_or)
Phase 2: Ecto Domain Types (100% complete)
- ip_address: IPv4/IPv6 validation using :inet directly
- mac_address: Multi-format MAC parsing (colon/hyphen/dot/compact)
- snmp_oid: OID parsing/manipulation with recursive pattern matching
All 198 tests passing across converted modules.
API changed from Gleam-style {:some/:none to idiomatic {:ok/:error.
Refactored parse_numeric_oid to use with statement, reducing nesting depth.
Reviewed-on: graham/towerops-web#196
|
||
|---|---|---|
| .. | ||
| mikrotik_backups | ||
| backup_request.ex | ||
| backup_requests.ex | ||
| credential_resolver.ex | ||
| device.ex | ||
| device_firmware_history.ex | ||
| event.ex | ||
| event_logger.ex | ||
| firmware.ex | ||
| firmware_release.ex | ||
| mikrotik_backup.ex | ||
| mikrotik_backups.ex | ||
| version_comparator.ex | ||