Skip to content

Commit

Permalink
dbeaver/dbeaver-vscode#7 Bring short driver ID into GQL
Browse files Browse the repository at this point in the history
  • Loading branch information
serge-rider committed Nov 18, 2024
1 parent 61b274b commit aeb2394
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -209,13 +209,17 @@ type DatabaseAuthModel {
}

type DriverInfo {
# Driver unique full ID. It is `providerId + "." + driverId`.
# It is recommended to use providerId and driverId separately.
id: ID!
name: String
description: String
icon: String
iconBig: String

# Driver provider ID
# Driver ID. It is unique within provider
driverId: ID
# Driver provider ID. It is globally unique
providerId: ID
# Driver Java class name
driverClassName: String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ public String getIconBig() {
return WebServiceUtils.makeIconId(driver.getIconBig());
}

@Property
public String getDriverId() {
return driver.getId();
}

@Property
public String getProviderId() {
return driver.getProviderId();
Expand Down

0 comments on commit aeb2394

Please sign in to comment.