Toot

Written by Stephann V. on 2025-01-31 at 12:20

@cllns the first thing I noticed was that the validation happens at http layer, but I'm not sure about this decision, because I think it can became complex when you need to mix with other type of validations (eg. uniqueness) and give feedback to user. So I think moving the validations to operations layer could make sense, but I'm could not integrate operation with validation contract, so I had to create a inner Contract class.

=> View attached media

=> More informations about this toot | View the thread | More toots from ste@ruby.social

Mentions

=> View cllns@ruby.social profile

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113922936520239418
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
251.477629 milliseconds
Gemini-to-HTML Time
0.315811 milliseconds

This content has been proxied by September (3851b).