Qovery / Replibyte

Seed your development database with real data ⚡️
https://www.replibyte.com
GNU General Public License v3.0
4.17k stars 129 forks source link

[Question] Can we pass options to a custom-wasm transformer? #272

Open gido opened 1 year ago

gido commented 1 year ago

I would like to implement a custom transformer that implement something described in #115:

The configuration could be something like:

# ...
   - database: <your-db-name>
     table: <your-table-name>
     columns:
       - name: <your-column-name>
         transformer_name: custom-wasm
         transformer_options:
           path: "path/to/your/hardcoded-value-wasm-transformer.wasm"
           value: "MY CUSTOM VALUE"
# ...

Is this currently possible to pass some options to my custom transformer?