Silvan Mosberger 4b54aedee5 lib/modules: Issue type deprecation warnings recursively
Previously, an option of type

  attrsOf string

wouldn't throw a deprecation warning, even though the string type is
deprecated. This was because the deprecation warning trigger only looked
at the type of the option itself, not any of its subtypes.

This commit fixes this, causing each of the types deprecationMessages to
trigger for the option. This relies on the subtypes mkOptionType
attribute introduced in 26607a5a2e06653fec453c83d063cdfc4b59185f
2021-05-03 22:16:02 +02:00
..
2021-01-25 19:25:50 +01:00
2021-04-28 21:44:21 +00:00
2017-09-16 21:36:43 -04:00
2021-04-01 14:29:57 +02:00
2018-11-22 08:59:48 +00:00
2020-06-04 13:43:10 +02:00
2021-04-28 21:44:21 +00:00
2019-09-26 17:42:42 +02:00