Skip to content

Conversation

guvra
Copy link
Collaborator

@guvra guvra commented Aug 30, 2025

This PR adds a config parameter named converter_templates (to be confirmed).

It allows to declare reusable converter templates:

converter_templates:
    acmeEmail:
        converter: 'randomizeEmail'
        unique: true
        parameters:
            domains: ['acme.com']

tables:
    table1:
        converters:
            email:
                converter: 'acmeEmail'
    table2:
        converters:
            email:
                converter: 'acmeEmail'
                parameters:
                    min_length: 10

It also works for converter parameters, for example:

tables:
    table1:
        converters:
            email:
                converter: 'chain'
                parameters:
                    - converter: 'acmeEmail'

@guvra guvra force-pushed the feat-virtual-converters branch 11 times, most recently from 38b4123 to 2edd357 Compare August 30, 2025 21:00
@guvra guvra force-pushed the feat-virtual-converters branch from 2edd357 to 4f5e6ec Compare September 3, 2025 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant