mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-01-11 20:00:30 +01:00
Error with param of type Date since 4.0.2 #144
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 @ThibaultVlacich on GitHub (Jun 2, 2017).
I have this error since 4.0.2:
Here's the related part of the code:
Was working perfectly before. I can't explain why is that by looking at the changes.
@JohnEstropia commented on GitHub (Jun 2, 2017):
The fix here https://github.com/JohnEstropia/CoreStore/issues/169 included a change that removed non-intuitive defaults for Date, URL, UUID, etc. For these types you'll need to provide a
defaultargument:Or you can just use
Value.Optional<Date>.@ThibaultVlacich commented on GitHub (Jun 2, 2017):
Oh, so it's linked to this fix. I thought it was working with 4.0.1 but I might be wrong, that's why I didn't make the connection.