rpc macro can't handle distinct types
jangko opened this issue · comments
andri lim commented
currently there is no support for distinct types when we use rpc macro.
it would be handy to have this feature.
the well structured code of rpc macro related code will allow the implementation of this feature using some undistinct helper proc.
if someone decide to implement this feature, please make sure at least these areas are covered:
- distinct types of basic data types and complex data types such as seq and object
- object's field using distinct types from point 1
- seq[T] where T is point 1
- distinct types of distinct types, applied to point 1,2,3
- proc return type using point 1,2,3,4
andri lim commented
closing as it is not relevant anymore.
distinct types should not handled by rpc macro because it provides means to override default behavior.