Miki

Results 152 comments of Miki

Thanks a lot to share ideas. initialize() and initializeChildren() methods are not very intuitive. We should definitelly improve API here to make it clearer.

Java language does support any alternative to C++ typedef. Therefore subtypes in Java is resolved during API generation (resolved means that generated Java API uses always original type directly). We...

Regarding problem with native/primitive types, we might think to use objects instead of them. In this case, we will be hit by significant memory and performance penalty. The fresh comparison...

The solution for classes (not for native/primitive types) could be if subtypes will be modeled by inheritance of original types and original types will be used everywhere instead of subtypes....

We emit uint32_t instead of a size_t for varsize just because of saving memory for 64-bit OS. The memory is probably not a big issue now, so we might think...

Yes, this is another possible solution. We thought that we will support more generic solution which allows description of service data (e.g. image) in more detail: ``` struct Image(varsize length)...

We will implement this by new zserio type `bytes` introduced by issue #448. Example: ``` service ImageConverterService { bytes convertImage(bytes); }; ```

Hi! Firstly, thanks a lot for sharing your idea and sources. We really appreciate it. I tried your new extension and I successfully generated JSON files together to Menus.json. Now,...

Yes, operator `isused` would be very helpful for this particular use case. In the meantime, it is possible to use workaround using optional field with if clause: ``` struct Test...

As a workaround, schema authors could probably use `subtype` command.