Skip to content

Get driver version automatically instead of hardcoding it in the application name #56

@bobbyiliev

Description

@bobbyiliev

At the moment the application name is set as follows with a hardcoded driver version, we should find a way to get that from the plugin manifest instead:

(defmethod sql-jdbc.conn/connection-details->spec :materialize
  [_ details]
  (let [merged-details (merge default-materialize-connection-details details)
        ;; TODO: get the driver version from the plugin manifest instead of hardcoding it
        driver-version "v1.2.1"
        app-name       (format "Metabase Materialize driver %s %s"
                             driver-version
                             config/mb-app-id-string)]

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