mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-01-11 20:00:30 +01:00
logical operations on where clause failed after upgrade to tree 5.0.0 (swift4 prototype) #178
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 @paterik on GitHub (Oct 13, 2017).
Hi John
I've some issues after this mornings pod update process (migration from 4.1.3 to 5.0.0 of swift4 prototype).
Can you provide corresponding additions in your documentation to overcome those issues? Is there a (kind of) stable branch for swift4 code base available or planned within the next days/weeks?
thanks and best regards,
Patrick
@JohnEstropia commented on GitHub (Oct 13, 2017):
Hi, the 5.0.0 have huge breaking changes that would require some tweaks in your code. I’m still in the process of completing the migration instructions so in the meantime please use any 4.2.x commit directly.
To give you an idea what is happening, some FetchClauses including Where are now generic types. You now need to write it as
Where<YourEntity>(...). This is verbose, but there is also a new syntax that is a lot lot more typesafe and autocompletion-friendly. See https://twitter.com/johnestropia/status/883849193181204480@paterik commented on GitHub (Oct 13, 2017):
Hi, ... oh-okay, firstly - thank you for your quick response to my "issue" and the corresponding snippet. I'll try to comply the new structural/logical changes and mind to step back to 4.2.x version on any further troubles using your 5.0.0 tree.
regards,
Patrick