Skip to content

discussions Search Results · repo:tjjfvi/subshape language:TypeScript

3 results
 (62 ms)

3 results

intjjfvi/subshape (press backspace or delete to remove)
The language qualifier is not supported when searching discussions. Try searching for issues instead?

I have TS code using subshape. It defines SCALE shema. How I can export it to scale file? I want to use scale parser from subxt to get rust code generated for that.

Would something like this be worthwhile?

Why is it that we define the shape of a record codec as follows? const c = s.record( s.field( name , s.str), s.field( nickName , s.str), ); At first glance, it seems strange that we must call s.field... ...