Daniel Morgan

Results 32 comments of Daniel Morgan

If I add a unique_constraint(:email) on my User model I get this error. Is there an existing way to add a unique constraint to a User model while using Addict?

I've started a PR which addresses this. You can specify a file path in the initialiser. Check the notes for todos and pitch in, if you have a spare hour....

> FYI: in our project codebase that only using `DefaultsSerializable` with `Codable`, this small workaround code adding to main module is resolved compiler error too. But this is not maybe...

what type is viewHeight? Double etc. won't work it needs to be a CGFloat. You could try > view.height == CGFloat(viewHeight)

I think this is the same: https://github.com/malcommac/SwiftDate/issues/775

I'm having an issue with swift scripting on Xcode 13 GM https://github.com/apollographql/iOSCodegenTemplate/issues/4 May be worth waiting until this project is fixed and out of beta? I've switched back to the...

Hey Ash, So from my initial experience of CocoaAction, the following things confused me: This code in the readme isn't valid code right? the x = y = z format...

Nice. Personally I'd have found an example like this useful too: ``` // Create an Action that reverses a string let reverseAction = Action(workFactory: { (string: String) -> Observable in...

Thanks Michael. In this example if I passed` {:full_json, %__MODULE__{... my actual struct}}` to the first argument, 'value' of encode/2 would it find my implementation of the encoder? I'd assumed,...

@anatoliyarkhipov Just having a play with the above code. Looks like you're assigning the current_user to just be the session key rather than the user itself? Is that a mistake?...