TownHallHQ / TownHall

MIT License
30 stars 12 forks source link

fix: validate if hash is empty #37

Closed benjamingb closed 1 year ago

EstebanBorai commented 1 year ago

Hi @benjamingb! I believe this logic could be moved to a ValueObject as part of this https://github.com/whizzes/quicklink/pull/44 PR, wdyt?

EstebanBorai commented 1 year ago

Hi @benjamingb!

Source code has changed a lot due to the efforts into moving to a DDD architecture! Validation for links now lives on: https://github.com/whizzes/quicklink/blob/20f4f59598b208522efe8a4349f72cf4c28b43fa/src/core/src/link/model/ulid.rs#L21

Feel free to close this PR and reopen with any findings you have!