edoc for /lib modules

35 views
Skip to first unread message

Graeme Defty

unread,
Aug 24, 2014, 5:10:43 AM8/24/14
to chica...@googlegroups.com
Increasingly I find I am putting business logic into /lib since as my app expands more of it is common across controllers (and other channels).

However, I noticed there is no edoc generated for the modules in /lib.  :-(

I searched the archives just in case this topic had been raised before and discovered that it indeed had!  By me !!

Anyway, this is the reference to the previous conversation https://groups.google.com/forum/#!searchin/chicagoboss/edoc/chicagoboss/nBr1LiYDkkM/87WFNpmr6fUJ

Any updates or plans to fix the omission?

g

Dmitry Polyanovsky

unread,
Aug 24, 2014, 4:22:33 PM8/24/14
to chica...@googlegroups.com
Hi,
I added controllers to a list once and it was not hard. Problem is, that adding another case for /libs will make code look uglier that it's now( and it's really ugly). Whole function should be rewritten.
see here https://github.com/ChicagoBoss/ChicagoBoss/blob/master/src/boss/boss_web_controller_handle_request.erl#L427
Reply all
Reply to author
Forward
0 new messages