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

Allow configuring the exported tables from application.conf #139

Open
AlexITC opened this issue Nov 8, 2022 · 0 comments
Open

Allow configuring the exported tables from application.conf #139

AlexITC opened this issue Nov 8, 2022 · 0 comments

Comments

@AlexITC
Copy link
Contributor

AlexITC commented Nov 8, 2022

Right now, we need to write a guice module to expose the TableSettings (example), which defines the tables that are exposed to admin users.

Let's create a module like DataExplorerConfigModule which loads DataExplorerSettings from `application.conf.

As an example, we should be able to write this piece in application.conf which will be imported by the new module:

dataExplorerSettings = {
  tables = [
    {
      tableName = "users",
      primaryKeyField = "user_id"
    }
  ]
}
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