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

Add extra options to doc configuration #239

Closed
elbrujohalcon opened this issue May 27, 2016 · 1 comment
Closed

Add extra options to doc configuration #239

elbrujohalcon opened this issue May 27, 2016 · 1 comment

Comments

@elbrujohalcon
Copy link
Member

As described in inaka/sumo_db_mysql#6, schema names are by design equal to module names for the modules that implement sumo_doc behaviour.
That's an undesired limitation that we should avoid by adding an optional extra parameter to each docs configuration where these kinds of things and others can be specified.
That way, in situations like the one @jordan0day describes, instead of…

    , { docs
      , [ {user, the_store}
        , …
        ]
      }

…we would have…

    , { docs
      , [ {user, the_store, #{module => my_users}}
        , …
        ]
      }

…or…

    , { docs
      , [ {my_users, the_store, #{schema_name => "user"}}
        , …
        ]
      }
@elbrujohalcon
Copy link
Member Author

After this feature is implemented here, we will need to adjust all the drivers to support it.

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

No branches or pull requests

1 participant