General typography question: Entity
, entity?
, entity-schema
?
#463
Labels
for discussion
Discussion is main focus of PR
Entity
, entity?
, entity-schema
?
#463
Hello, thanks for this very well-thought tool!
The README of this lib usually names schemas like
Address
,Age
, but alsoabcd
,my-schema
, and obviously a datum schema can be namedint?
orboolean?
. The style guide of @bbatsov talks about types and suggests CapitalCase. Would we have some general rules of thumb when it comes to naming conventions for malli schemas?If I were to suggest some, I would go for:
datum?
(but not all predicates are for schema);DataStructure
;my-address
are for functions, or constant, andmy-order-schema
denotes a function returning a schema for some order, where the schema can be tweaked based on fn arguments.It may or may not look like bikeshedding, sorry for that 😅
Cheers! 👍
The text was updated successfully, but these errors were encountered: