Phoenix 1.3 and Context Boundaries ?
hi there, this is a stub, am investigating this but hoping for any clues
am building a new app with Phoenix 1.3 rc1 and trying to use Coherence and Ex Admin and am snagged on the new Phx 1.3 Context concept and how this currently works with Ex Admin
mix phx.gen.html Accounts User users
this creates two files and splits schema and changesets which doesn't seem to be handled by Ex Admin
any clues would be welcome
discussion of the issue here https://elixirforum.com/t/how-context-should-be-used-in-phoenix-1-3/4159/8
The short answer is that it doesn't work on ExAdmin at this time. I have not had a chance to look at what 1.3 phx means for ExAdmin. It might just work by setting up custom changesets for each schema, but I'm not sure if ExAdmin will be able to detect required fields. Furthermore, this means no default page rendering.
I'm thinking that I'll need to extend the DSL to support the Context module with intelligent defaults for determining the changesets.
I hope to get to this later this week or sometime next week.
Steve