trenpixster/addict

Phoenix framework 1.3

Closed this issue ยท 4 comments

Any plans to support Phoenix 1.3?

๐Ÿ”œ! Still didn't get to see what needs to be changed though :(

I believe that when creating a model you need to add a Context (in phx 1.3), so you'd need that in the crud stuff
i.e. instead of App.User it would be Context.User

I'm playing with 1.3 and just tried addict.
The web directory is now named dev_app_web for an app named DevApp.
When I moved your files, I reached the login page.

With a Context of 'Accounts', the User schema is referenced by DevApp.Accounts.User
The import Ecto.Query is now in the Context and not in the schema.
That's as far as I've gotten so far.

Some work required for "opinionated boilerplate", but I guess it's not an issue. Closing.