objectbox-generator
objectbox-generator copied to clipboard
ObjectBox Generator based on FlatBuffers schema files (fbs) for C and C++ (more languages in the future)
Once c-api 1.0 is released, the generated code can check semver compatibility with `static_assert` (C++) or `#if & #error` macros (C99). This would ensure, at compile time, that the generated...
The C++ docs are sparse, how do you make a one to many relationship? I get error: parentid: unsupported vector element type: ULong Looking at: https://github.com/objectbox/objectbox-generator/blob/main/test/comparison/testdata/fbs/typeful/schema.fbs only string and byte...
…with multiple lazy loaded relations
…compilation error: On Ubuntu 22.04, the build fails with ``` objectbox-generator/third_party/flatbuffers-c-bridge/third_party/catch.hpp:10791:58: error: call to non-‘constexpr’ function ‘long int sysconf(int)’ 10791 | static constexpr std::size_t sigStackSize = 32768 >= MINSIGSTKSZ ?...
Hello, I clone the repo and execute make and I get error: ``` root@beaglebone:/home/debian/objectBox/objectbox-generator# make ./third_party/flatbuffers-c-bridge/build.sh ******** Configuring & building ******** + cd ./third_party/flatbuffers-c-bridge/cmake-build + eval 'cmake "/home/debian/objectBox/objectbox-generator/third_party/flatbuffers-c-bridge" -DCMAKE_BUILD_TYPE=Release' ++...
Hi Guys, Just messing around with objectbox-go for use as data storage for my app, and I came across the idea of lazy loading related objects. I found that If...
E.g. clang-tidy complains about generated code: ``` error: use std::make_unique instead [modernize-make-unique,-warnings-as-errors] auto object = std::unique_ptr(new MyEntity()); ```
Using `flex` annotation (or another name?) on a byte array property (only this FlatBuffers type?) in the FlatBuffers schema: ``` // objectbox:flex flexProperty:[byte]; ``` Should generate a model file where...
closes #36 the important change is in the `flatbuffersc.cpp` - the remainder is just (for) tests