Extend IP to DatabaseProperty #2302

Closed
opened 2026-04-05 16:57:30 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @simlarsen on 5/16/2022

Please look at this file for inspiration:

Common/Types/Email.ts

As email extends DatabaseProperty. IP (Common/Types/IP/IP.ts) should also extend DatabaseProperty. Override and Implement toDatabase and fromDatabase functions.

Write tests for it.

*Originally created by @simlarsen on 5/16/2022* Please look at this file for inspiration: `Common/Types/Email.ts` As email extends DatabaseProperty. IP (Common/Types/IP/IP.ts) should also extend DatabaseProperty. Override and Implement toDatabase and fromDatabase functions. Write tests for it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/oneuptime#2302