Skip to content

Allow configuring the exported tables from application.conf #139

@AlexITC

Description

@AlexITC

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"
    }
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions