Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix #239] Add extra options to doc configuration. #249

Merged
merged 3 commits into from
Aug 4, 2016

Conversation

cabol
Copy link
Contributor

@cabol cabol commented Aug 4, 2016

  • Added sumo_config module to handle all related to config parameters.
  • Add extra opts to doc config to remove dependency between schema names and doc modules. E.g.:
...
{docs, [
  {user, the_store, #{module => my_users}}
]},
...

@elbrujohalcon elbrujohalcon self-assigned this Aug 4, 2016
init([]) ->
Docs = application:get_env(sumo_db, docs, []),
?MODULE = ets:new(?MODULE, [
public,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't it be protected? Are you adding stuff from outside this gen_server?

@elbrujohalcon elbrujohalcon merged commit e7e52ab into master Aug 4, 2016
@cabol cabol deleted the cabol.239.extra_opts_to_doc_config branch August 4, 2016 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants