Username starting with a digit prevents creating a custom op

Cables uses the username for the namespace to create custom ops, however it does not allow for namespaces to begin with digits.

your op name has issues:

  • name space parts can not start with numbers (0xc1c4da)

Hi there,
This is intentional and probably won’t be changed.
You can read up on this to understand more of the reasoning behind it.

shouldn’t then usernames preceding with a digit then be denied at account registration?

I’m still not getting the logic here, for example you already have an object that solves the issue, why not prepend u_ to the user object internally? as is done here;

https://cables.gl/api/ops/code/u_0xc1c4da

"use strict";

var CABLES=CABLES||{};
CABLES.OPS=CABLES.OPS||{};

var undefined

;

Ops.User=Ops.User||{};Ops.User.u_0xc1c4da=Ops.User.u_0xc1c4da||{};