Kotlin extensions: Allow usage of `regex` for non-string properties

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Gone away
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: Kotlin
    • None
    • None
    • Java Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      While it makes some sense to only allow the `regex` function on String properties, this also precludes using it with properties that wrap the String in a value class.

      To allow for that use case, I think it would make sense to relax the property type and allow anything there.

            Assignee:
            Ross Lawley
            Reporter:
            Jens Suhr
            None
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: