mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-01-11 20:00:30 +01:00
Missing $ in README examples #390
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @idsky2 on GitHub (May 2, 2022).
Your readme has
let newPerson = dataStack.fetchOne(From<Person>.where(\.name == "John"))I'm just figuring out CoreStore but I think that should now be
let newPerson = dataStack.fetchOne(From<Person>.where(\.$name == "John"))otherwise I get an error that my class needs to inherit from NSManagedObject.
@JohnEstropia commented on GitHub (May 2, 2022):
Thanks. Both syntaxes are correct depending if you're using
CoreStoreObjectorNSManagedObjectsubclasses. But since the rest of the README uses the propertyWrapper syntax, I'll try to make it more consistent.