You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
beyond having to use a special call the first time you write out an entity, everything is the same as with classes.
This is not true. I have code that works for a class type but fails for immutable struct types.
Additional context
I love the stark simplicity of the architecture of ObjectBox, but without working examples to follow with Swift immutable structs, the documentation is suddenly too opaque. I am either seeing behavior that makes no sense or getting errors that I cannot understand why.
The text was updated successfully, but these errors were encountered:
Describe the solution you'd like
Full examples of how to achieve tasks using Swift immutable structs. It is very difficult to achieve even the simplest tasks. Example: https://stackoverflow.com/questions/73556044/how-to-get-objectbox-backlinks-to-save-with-swift-structs
Or, if I am doing something wrong, then not enough runtime or compile time errors are thrown.
Describe alternatives you've considered
The
NotesExample.xcworkspace
contains only class examples.The docs say that:
This is not true. I have code that works for a class type but fails for immutable struct types.
Additional context
I love the stark simplicity of the architecture of ObjectBox, but without working examples to follow with Swift immutable structs, the documentation is suddenly too opaque. I am either seeing behavior that makes no sense or getting errors that I cannot understand why.
The text was updated successfully, but these errors were encountered: