Update resources on the gateway- missing createSerializer

Is there any way to update resources on the gateway?

The DesignerContext interface has createSerializer(), but this method is not present in the GatewayContext interface.

What I am trying to do is modify the gateway ScriptConfig from a client via an RPC function. Maybe there is an easier way to do this?

Thanks.

Did you ever solve this? I’m facing a similar issue.

I didn’t find any way to do this outside the designer.