opened
xlc
username_0
Let's say I have this enum defined in Rust
```
enum Test {
  A = 1,
  B = 10,
  C = 255
}
```

I need a better way to define it in polkadot.js. Make an array with 256 items with bunch dummies is not a good idea.

Maybe we can support syntax like

```
Test: {
  _enum: {
    A: 1,
    B: 10,
    C: 255
  }
}
```
Better support of C-like enum
issue
closed
jacogr
username_1
issue