Miki
Miki
Consider to implement the runtime check of Java runtime library version in each generated Java class. This will introduce some performance drop but it will avoid unintentionally usage of incompatible...
Consider to implement the check of Python runtime library version in each generated Python class. This will introduce some performance drop but it will avoid unintentionally usage of incompatible zserio...
Currently, we use `@SuppressWarning("unchecked")` in Java code. For example: ``` @SuppressWarnings("unchecked") private void addReferencedSymbolObject(Set referencedObjectList, Class
Consider the following schema: `holder.zs`: ``` package holder; import list.List; struct Holder { List(0) list; }; ``` `list.zs`: ``` package list; subtype bit:5 Param; struct List(Param param) { varsize num;...
UndefinedBehaviourSanitizer fails during C++ runtime library build for 32-bit platform using clang 12: ``` ./build.sh cpp_rt-linux32-clang ``` gives for example the following error ``` compiler/extensions/cpp/runtime/test/../src/zserio/OptionalHolder.h:727:38: runtime error: constructor call on...
Even optional fields can have default values. However, if optional value has default value, it means that this field will be set during construction of Zserio object. Thus, such field...
Consider to implement `[encoding]` warning in case of any invalid unicode characters in the schema. Example: ``` const string STRING = "Contains \u200B: CONSUMPTION_SPEED_DEPENDENCY"; ``` The string above contains invisible...
Because Zserio packages can contain definition of multiple Zserio entities, the cyclic imports are allowed and can be used. On another hand, cyclic imports can signal some design problems in...
Zserio currently does not check array indexes in expressions which contain references to fields. However in some cases, it would be quite easy to check that the array index is...
Currently, there is not possible to define constraints for all array elements. It is possible to define constraint only for one array element. The following example shows workaround which can...