Good Morning everybody, i just started to utilize flatbuffers on C# , inside a table i defined:
there is C# support for the flexbuffer in the original repo or i should rely on https://github.com/mzaks/FlexBuffers-CSharp ?
I am trying to use FlatBuffers in Swift.
After compiling the Monstes example with flatc --swift monsters.fbs, I then add the generated file into my Xcode project as a swift file.
When trying to build I get many errors of the type:
Cannot use mutating member on immutable value: 'fbb' is a 'let' constant, where fbb is a FlatBuffersBuilderType
I've tried the cocoapods as well as building from source. I am on Flatc 1.12.0
Not sure if the code is still being updated and whether Swift is even supported.
Any help would be appreciated.
I put together a bunch of schemas in flatbuffer format, primarily to see if the ideas expressed in my earlier blog post (https://adsharma.github.io/flattools/) actually work.
This is all experimental work - there may be bugs or syntax errors in the schemas in the submodules. Please file bug reports or send me fixes if it looks interesting. The telegram schema is the most extensive one I've found to date.
I prefer the int32 and uint64 over int and ulong types
Good tip thanks. I'd use int/ulong only when the author wants to use the corresponding types in the languages we generate from the schema.
Yeah - deprecation is complicated. But I like it so much better than field numbering when generating schema at a conceptual level (telegram_api.tl stuff).