This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
My low level function to store a record in the database, requires all the fields to be present, username, email, name, date of birth, etc. On top of that I have a function that does validation and other things. Amongst this things, I need to fill up fields with sane defaults. I could just merge a hasmap, but I’m wondering if there’s some library I could use. I thought of schema, but it feels like an overkill. Does anybody else have an opinion about this?
Is there a function somewhere to convert any string into a valid-for-an-URL string? Something like stringex in Ruby (https://github.com/rsl/stringex)?
Is in-ns the proper way to switch to a different namespace? I seem to lose access to clojure’s core after that.