item modifier, missing a 'set_trim' function

I can't find a way of setting the trim of an armor from a storage value en 1.21

1.20 version

[
    {
      "function": "minecraft:copy_nbt",
      "source": {
        "type": "minecraft:storage",
        "source": "reputation:data"
      },
      "ops": [
        {
          "source": "pattern",
          "target": "Trim.pattern",
          "op": "replace"
        },
        {
          "source": "material",
          "target": "Trim.material",
          "op": "replace"
        }
      ]
    }
]

For the custom_model_data we have "function": "minecraft:set_custom_model_data" that works but nothing for trims afaik

Any workaround ?

Continue to help post