Pantry icon indicating copy to clipboard operation
Pantry copied to clipboard

Int32 / Int64 should be a default type

Open davidcorry opened this issue 7 years ago • 0 comments

I needed to explicitly store a 64-bit Int on 32-bit devices, but Pantry doesn't support Int64 by default. Including this line seems to work:

extension Int64: StorableDefaultType {}

(Hopefully there's no reason not to do that, it seems to work without error.)

Presumably Int32 also needs to be added, but I didn't explicitly test for that.

davidcorry avatar May 25 '17 05:05 davidcorry