Add a validation that checks not to use BOOLEAN type for a clustering key or a secondary index in Schema Tool for DynamoDB
(defn- make-attribute-definition
[name type]
+ (when (= type "boolean")
+ (throw (IllegalArgumentException.
+ (str "BOOLEAN type is not supported for a clustering key"
+ " or a secondary index in DynamoDB"))))
(-> (AttributeDefinition/builder)
(.attributeName name)
(.attributeType (type-map type))
