Does the is method support TS interfaces or just classes that exist during runtime? I ask because I played around with type guards for interfaces using code generation to create runtime representations of interfaces, and I wonder if that's something typia does.
I worked with TS in the past and now I work with Java and protocol buffers, where I also did code generation based on generated Message Java subclasses. Interesting to see what protobuf looks like in TS.
Yes, this is a transformer library generating validation script by analyzing TypeScript type. If you're wondering how typia generates protobuf message, reference test automation code.
I know automatically generated message by current typia is so ugly yet, but it would be reasonable. Also, as you are interested in protobuf, you may understand how typia implemented non-protobuf supported type through detour expression.
This looks great!
Does the
ismethod support TS interfaces or just classes that exist during runtime? I ask because I played around with type guards for interfaces using code generation to create runtime representations of interfaces, and I wonder if that's somethingtypiadoes.I worked with TS in the past and now I work with Java and protocol buffers, where I also did code generation based on generated
MessageJava subclasses. Interesting to see what protobuf looks like in TS.Yes, this is a transformer library generating validation script by analyzing TypeScript type. If you're wondering how
typiagenerates protobuf message, reference test automation code.I know automatically generated message by current
typiais so ugly yet, but it would be reasonable. Also, as you are interested in protobuf, you may understand howtypiaimplemented non-protobuf supported type through detour expression.github.com/samchon/typia/tree/feat...