Commit Graph

1 Commits (9bc330c89b96be4482d5ab7d054ca43262ed7eb2)

Author SHA1 Message Date
Matt Davis 3f1ec6b862 add custom module type validation (#27183)
* Module argument_spec now accepts a callable for the type argument, which is passed through and called with the value when appropriate. On validation/conversion failure, the name of the callable (or its type as a fallback) is used in the error message.
* adds basic smoke tests for custom callable validator functionality
7 years ago