fullstack-phoenix/lit

Erorr When generating liveview templates and context.

Opened this issue · 2 comments

Current behaviour
Running
$ mix lit.gen.html Blog Post posts title:string body:text published_at:datetime published:boolean views:integer

raises this error

** (MatchError) no match of right hand side value: %{default_web_namespace: "Admin", otp_app: :lit_admin}
after investigating it seems that the error is due to this return on this line the format is missing whend I edited the dependancy code base and added the format the error was fixed.

Expected behaviour
to have the templates, context and all related files created.

Is this library ready to be used or it is still under construction? Is it being maintained even or we cannot rely on it now?
@andreaseriksson

No its not actively maintained and have bugs for sure. I think I only optimized for the live version and I will see if I should/can move that back to torch.

Sorry @zaherh8 what was your fix ?