Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2a811b1f8c | ||
|
|
1f9c29411e |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -6,3 +6,4 @@ steel_decimal/tests/property_tests.proptest-regressions
|
|||||||
.direnv/
|
.direnv/
|
||||||
canvas/*.toml
|
canvas/*.toml
|
||||||
.aider*
|
.aider*
|
||||||
|
.codex
|
||||||
|
|||||||
2
client
2
client
Submodule client updated: 6a32d8cb3a...ab990ac128
@@ -61,6 +61,14 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||||||
".komp_ac.table_definition.TableDefinitionResponse",
|
".komp_ac.table_definition.TableDefinitionResponse",
|
||||||
"#[derive(serde::Serialize, serde::Deserialize)]"
|
"#[derive(serde::Serialize, serde::Deserialize)]"
|
||||||
)
|
)
|
||||||
|
.type_attribute(
|
||||||
|
".komp_ac.table_definition.RenameColumnAliasRequest",
|
||||||
|
"#[derive(serde::Serialize, serde::Deserialize)]"
|
||||||
|
)
|
||||||
|
.type_attribute(
|
||||||
|
".komp_ac.table_definition.RenameColumnAliasResponse",
|
||||||
|
"#[derive(serde::Serialize, serde::Deserialize)]"
|
||||||
|
)
|
||||||
.type_attribute(
|
.type_attribute(
|
||||||
".komp_ac.table_script.PostTableScriptRequest",
|
".komp_ac.table_script.PostTableScriptRequest",
|
||||||
"#[derive(serde::Serialize, serde::Deserialize)]",
|
"#[derive(serde::Serialize, serde::Deserialize)]",
|
||||||
|
|||||||
@@ -22,6 +22,9 @@ service TableDefinition {
|
|||||||
// Pure data retrieval - no business logic.
|
// Pure data retrieval - no business logic.
|
||||||
rpc GetProfileDetails(GetProfileDetailsRequest) returns (GetProfileDetailsResponse);
|
rpc GetProfileDetails(GetProfileDetailsRequest) returns (GetProfileDetailsResponse);
|
||||||
|
|
||||||
|
// Renames a user-visible column alias while keeping the physical column unchanged.
|
||||||
|
rpc RenameColumnAlias(RenameColumnAliasRequest) returns (RenameColumnAliasResponse);
|
||||||
|
|
||||||
// Drops a table and its metadata, then deletes the profile if it becomes empty.
|
// Drops a table and its metadata, then deletes the profile if it becomes empty.
|
||||||
rpc DeleteTable(DeleteTableRequest) returns (DeleteTableResponse);
|
rpc DeleteTable(DeleteTableRequest) returns (DeleteTableResponse);
|
||||||
}
|
}
|
||||||
@@ -152,6 +155,20 @@ message ScriptInfo {
|
|||||||
string description = 5;
|
string description = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Request to rename one user-visible column alias in a table.
|
||||||
|
message RenameColumnAliasRequest {
|
||||||
|
string profile_name = 1;
|
||||||
|
string table_name = 2;
|
||||||
|
string old_column_name = 3;
|
||||||
|
string new_column_name = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Response after renaming one column alias.
|
||||||
|
message RenameColumnAliasResponse {
|
||||||
|
bool success = 1;
|
||||||
|
string message = 2;
|
||||||
|
}
|
||||||
|
|
||||||
// Request to delete one table definition entirely.
|
// Request to delete one table definition entirely.
|
||||||
message DeleteTableRequest {
|
message DeleteTableRequest {
|
||||||
// Profile (schema) name owning the table (must exist).
|
// Profile (schema) name owning the table (must exist).
|
||||||
|
|||||||
@@ -4,40 +4,45 @@ package komp_ac.table_structure;
|
|||||||
|
|
||||||
import "common.proto";
|
import "common.proto";
|
||||||
|
|
||||||
// Introspects the physical PostgreSQL table for a given logical table
|
// Introspects the physical PostgreSQL tables for one or more logical tables
|
||||||
// (defined in table_definitions) and returns its column structure.
|
// (defined in table_definitions) and returns their column structures.
|
||||||
// The server validates that:
|
// The server validates that:
|
||||||
// - The profile (schema) exists in `schemas`
|
// - The profile (schema) exists in `schemas`
|
||||||
// - The table is defined for that profile in `table_definitions`
|
// - Every table is defined for that profile in `table_definitions`
|
||||||
// It then queries information_schema for the physical table and returns
|
// It then queries information_schema for the physical tables and returns
|
||||||
// normalized column metadata. If the physical table is missing despite
|
// normalized column metadata.
|
||||||
// a definition, the response may contain an empty `columns` list.
|
|
||||||
service TableStructureService {
|
service TableStructureService {
|
||||||
// Return the physical column list (name, normalized data_type,
|
// Return the physical column list (name, normalized data_type,
|
||||||
// nullability, primary key flag) for a table in a profile.
|
// nullability, primary key flag) for one or more tables in a profile.
|
||||||
//
|
//
|
||||||
// Behavior:
|
// Behavior:
|
||||||
// - NOT_FOUND if profile doesn't exist in `schemas`
|
// - NOT_FOUND if profile doesn't exist in `schemas`
|
||||||
// - NOT_FOUND if table not defined for that profile in `table_definitions`
|
// - NOT_FOUND if any table is not defined for that profile in `table_definitions`
|
||||||
// - Queries information_schema.columns ordered by ordinal position
|
// - Queries information_schema.columns ordered by ordinal position
|
||||||
// - Normalizes data_type text (details under TableColumn.data_type)
|
// - Normalizes data_type text (details under TableColumn.data_type)
|
||||||
// - Returns an empty list if the table is validated but has no visible
|
// - Returns an error if any validated table has no visible columns in
|
||||||
// columns in information_schema (e.g., physical table missing)
|
// information_schema (e.g., physical table missing)
|
||||||
rpc GetTableStructure(GetTableStructureRequest) returns (TableStructureResponse);
|
rpc GetTableStructure(GetTableStructureRequest) returns (GetTableStructureResponse);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Request identifying the profile (schema) and table to inspect.
|
// Request identifying the profile (schema) and tables to inspect.
|
||||||
message GetTableStructureRequest {
|
message GetTableStructureRequest {
|
||||||
// Required. Profile (PostgreSQL schema) name. Must exist in `schemas`.
|
// Required. Profile (PostgreSQL schema) name. Must exist in `schemas`.
|
||||||
string profile_name = 1;
|
string profile_name = 1;
|
||||||
|
|
||||||
// Required. Table name within the profile. Must exist in `table_definitions`
|
// Required. Table names within the profile. Each must exist in
|
||||||
// for the given profile. The physical table is then introspected via
|
// `table_definitions` for the given profile. The physical tables are then
|
||||||
// information_schema.
|
// introspected via information_schema.
|
||||||
string table_name = 2;
|
repeated string table_names = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Response with the ordered list of columns (by ordinal position).
|
// Batched response keyed by table name.
|
||||||
|
message GetTableStructureResponse {
|
||||||
|
// Per-table physical column lists keyed by requested table name.
|
||||||
|
map<string, TableStructureResponse> table_structures = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Response with the ordered list of columns (by ordinal position) for one table.
|
||||||
message TableStructureResponse {
|
message TableStructureResponse {
|
||||||
// Columns of the physical table, including system columns (id, deleted,
|
// Columns of the physical table, including system columns (id, deleted,
|
||||||
// created_at), user-defined columns, and any foreign-key columns such as
|
// created_at), user-defined columns, and any foreign-key columns such as
|
||||||
|
|||||||
Binary file not shown.
@@ -151,6 +151,28 @@ pub struct ScriptInfo {
|
|||||||
#[prost(string, tag = "5")]
|
#[prost(string, tag = "5")]
|
||||||
pub description: ::prost::alloc::string::String,
|
pub description: ::prost::alloc::string::String,
|
||||||
}
|
}
|
||||||
|
/// Request to rename one user-visible column alias in a table.
|
||||||
|
#[derive(serde::Serialize, serde::Deserialize)]
|
||||||
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
|
pub struct RenameColumnAliasRequest {
|
||||||
|
#[prost(string, tag = "1")]
|
||||||
|
pub profile_name: ::prost::alloc::string::String,
|
||||||
|
#[prost(string, tag = "2")]
|
||||||
|
pub table_name: ::prost::alloc::string::String,
|
||||||
|
#[prost(string, tag = "3")]
|
||||||
|
pub old_column_name: ::prost::alloc::string::String,
|
||||||
|
#[prost(string, tag = "4")]
|
||||||
|
pub new_column_name: ::prost::alloc::string::String,
|
||||||
|
}
|
||||||
|
/// Response after renaming one column alias.
|
||||||
|
#[derive(serde::Serialize, serde::Deserialize)]
|
||||||
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
|
pub struct RenameColumnAliasResponse {
|
||||||
|
#[prost(bool, tag = "1")]
|
||||||
|
pub success: bool,
|
||||||
|
#[prost(string, tag = "2")]
|
||||||
|
pub message: ::prost::alloc::string::String,
|
||||||
|
}
|
||||||
/// Request to delete one table definition entirely.
|
/// Request to delete one table definition entirely.
|
||||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
pub struct DeleteTableRequest {
|
pub struct DeleteTableRequest {
|
||||||
@@ -361,6 +383,36 @@ pub mod table_definition_client {
|
|||||||
);
|
);
|
||||||
self.inner.unary(req, path, codec).await
|
self.inner.unary(req, path, codec).await
|
||||||
}
|
}
|
||||||
|
/// Renames a user-visible column alias while keeping the physical column unchanged.
|
||||||
|
pub async fn rename_column_alias(
|
||||||
|
&mut self,
|
||||||
|
request: impl tonic::IntoRequest<super::RenameColumnAliasRequest>,
|
||||||
|
) -> std::result::Result<
|
||||||
|
tonic::Response<super::RenameColumnAliasResponse>,
|
||||||
|
tonic::Status,
|
||||||
|
> {
|
||||||
|
self.inner
|
||||||
|
.ready()
|
||||||
|
.await
|
||||||
|
.map_err(|e| {
|
||||||
|
tonic::Status::unknown(
|
||||||
|
format!("Service was not ready: {}", e.into()),
|
||||||
|
)
|
||||||
|
})?;
|
||||||
|
let codec = tonic::codec::ProstCodec::default();
|
||||||
|
let path = http::uri::PathAndQuery::from_static(
|
||||||
|
"/komp_ac.table_definition.TableDefinition/RenameColumnAlias",
|
||||||
|
);
|
||||||
|
let mut req = request.into_request();
|
||||||
|
req.extensions_mut()
|
||||||
|
.insert(
|
||||||
|
GrpcMethod::new(
|
||||||
|
"komp_ac.table_definition.TableDefinition",
|
||||||
|
"RenameColumnAlias",
|
||||||
|
),
|
||||||
|
);
|
||||||
|
self.inner.unary(req, path, codec).await
|
||||||
|
}
|
||||||
/// Drops a table and its metadata, then deletes the profile if it becomes empty.
|
/// Drops a table and its metadata, then deletes the profile if it becomes empty.
|
||||||
pub async fn delete_table(
|
pub async fn delete_table(
|
||||||
&mut self,
|
&mut self,
|
||||||
@@ -434,6 +486,14 @@ pub mod table_definition_server {
|
|||||||
tonic::Response<super::GetProfileDetailsResponse>,
|
tonic::Response<super::GetProfileDetailsResponse>,
|
||||||
tonic::Status,
|
tonic::Status,
|
||||||
>;
|
>;
|
||||||
|
/// Renames a user-visible column alias while keeping the physical column unchanged.
|
||||||
|
async fn rename_column_alias(
|
||||||
|
&self,
|
||||||
|
request: tonic::Request<super::RenameColumnAliasRequest>,
|
||||||
|
) -> std::result::Result<
|
||||||
|
tonic::Response<super::RenameColumnAliasResponse>,
|
||||||
|
tonic::Status,
|
||||||
|
>;
|
||||||
/// Drops a table and its metadata, then deletes the profile if it becomes empty.
|
/// Drops a table and its metadata, then deletes the profile if it becomes empty.
|
||||||
async fn delete_table(
|
async fn delete_table(
|
||||||
&self,
|
&self,
|
||||||
@@ -664,6 +724,52 @@ pub mod table_definition_server {
|
|||||||
};
|
};
|
||||||
Box::pin(fut)
|
Box::pin(fut)
|
||||||
}
|
}
|
||||||
|
"/komp_ac.table_definition.TableDefinition/RenameColumnAlias" => {
|
||||||
|
#[allow(non_camel_case_types)]
|
||||||
|
struct RenameColumnAliasSvc<T: TableDefinition>(pub Arc<T>);
|
||||||
|
impl<
|
||||||
|
T: TableDefinition,
|
||||||
|
> tonic::server::UnaryService<super::RenameColumnAliasRequest>
|
||||||
|
for RenameColumnAliasSvc<T> {
|
||||||
|
type Response = super::RenameColumnAliasResponse;
|
||||||
|
type Future = BoxFuture<
|
||||||
|
tonic::Response<Self::Response>,
|
||||||
|
tonic::Status,
|
||||||
|
>;
|
||||||
|
fn call(
|
||||||
|
&mut self,
|
||||||
|
request: tonic::Request<super::RenameColumnAliasRequest>,
|
||||||
|
) -> Self::Future {
|
||||||
|
let inner = Arc::clone(&self.0);
|
||||||
|
let fut = async move {
|
||||||
|
<T as TableDefinition>::rename_column_alias(&inner, request)
|
||||||
|
.await
|
||||||
|
};
|
||||||
|
Box::pin(fut)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
let accept_compression_encodings = self.accept_compression_encodings;
|
||||||
|
let send_compression_encodings = self.send_compression_encodings;
|
||||||
|
let max_decoding_message_size = self.max_decoding_message_size;
|
||||||
|
let max_encoding_message_size = self.max_encoding_message_size;
|
||||||
|
let inner = self.inner.clone();
|
||||||
|
let fut = async move {
|
||||||
|
let method = RenameColumnAliasSvc(inner);
|
||||||
|
let codec = tonic::codec::ProstCodec::default();
|
||||||
|
let mut grpc = tonic::server::Grpc::new(codec)
|
||||||
|
.apply_compression_config(
|
||||||
|
accept_compression_encodings,
|
||||||
|
send_compression_encodings,
|
||||||
|
)
|
||||||
|
.apply_max_message_size_config(
|
||||||
|
max_decoding_message_size,
|
||||||
|
max_encoding_message_size,
|
||||||
|
);
|
||||||
|
let res = grpc.unary(method, req).await;
|
||||||
|
Ok(res)
|
||||||
|
};
|
||||||
|
Box::pin(fut)
|
||||||
|
}
|
||||||
"/komp_ac.table_definition.TableDefinition/DeleteTable" => {
|
"/komp_ac.table_definition.TableDefinition/DeleteTable" => {
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
struct DeleteTableSvc<T: TableDefinition>(pub Arc<T>);
|
struct DeleteTableSvc<T: TableDefinition>(pub Arc<T>);
|
||||||
|
|||||||
@@ -1,17 +1,27 @@
|
|||||||
// This file is @generated by prost-build.
|
// This file is @generated by prost-build.
|
||||||
/// Request identifying the profile (schema) and table to inspect.
|
/// Request identifying the profile (schema) and tables to inspect.
|
||||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
pub struct GetTableStructureRequest {
|
pub struct GetTableStructureRequest {
|
||||||
/// Required. Profile (PostgreSQL schema) name. Must exist in `schemas`.
|
/// Required. Profile (PostgreSQL schema) name. Must exist in `schemas`.
|
||||||
#[prost(string, tag = "1")]
|
#[prost(string, tag = "1")]
|
||||||
pub profile_name: ::prost::alloc::string::String,
|
pub profile_name: ::prost::alloc::string::String,
|
||||||
/// Required. Table name within the profile. Must exist in `table_definitions`
|
/// Required. Table names within the profile. Each must exist in
|
||||||
/// for the given profile. The physical table is then introspected via
|
/// `table_definitions` for the given profile. The physical tables are then
|
||||||
/// information_schema.
|
/// introspected via information_schema.
|
||||||
#[prost(string, tag = "2")]
|
#[prost(string, repeated, tag = "2")]
|
||||||
pub table_name: ::prost::alloc::string::String,
|
pub table_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
|
||||||
}
|
}
|
||||||
/// Response with the ordered list of columns (by ordinal position).
|
/// Batched response keyed by table name.
|
||||||
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
|
pub struct GetTableStructureResponse {
|
||||||
|
/// Per-table physical column lists keyed by requested table name.
|
||||||
|
#[prost(map = "string, message", tag = "1")]
|
||||||
|
pub table_structures: ::std::collections::HashMap<
|
||||||
|
::prost::alloc::string::String,
|
||||||
|
TableStructureResponse,
|
||||||
|
>,
|
||||||
|
}
|
||||||
|
/// Response with the ordered list of columns (by ordinal position) for one table.
|
||||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
pub struct TableStructureResponse {
|
pub struct TableStructureResponse {
|
||||||
/// Columns of the physical table, including system columns (id, deleted,
|
/// Columns of the physical table, including system columns (id, deleted,
|
||||||
@@ -55,14 +65,13 @@ pub mod table_structure_service_client {
|
|||||||
)]
|
)]
|
||||||
use tonic::codegen::*;
|
use tonic::codegen::*;
|
||||||
use tonic::codegen::http::Uri;
|
use tonic::codegen::http::Uri;
|
||||||
/// Introspects the physical PostgreSQL table for a given logical table
|
/// Introspects the physical PostgreSQL tables for one or more logical tables
|
||||||
/// (defined in table_definitions) and returns its column structure.
|
/// (defined in table_definitions) and returns their column structures.
|
||||||
/// The server validates that:
|
/// The server validates that:
|
||||||
/// - The profile (schema) exists in `schemas`
|
/// - The profile (schema) exists in `schemas`
|
||||||
/// - The table is defined for that profile in `table_definitions`
|
/// - Every table is defined for that profile in `table_definitions`
|
||||||
/// It then queries information_schema for the physical table and returns
|
/// It then queries information_schema for the physical tables and returns
|
||||||
/// normalized column metadata. If the physical table is missing despite
|
/// normalized column metadata.
|
||||||
/// a definition, the response may contain an empty `columns` list.
|
|
||||||
#[derive(Debug, Clone)]
|
#[derive(Debug, Clone)]
|
||||||
pub struct TableStructureServiceClient<T> {
|
pub struct TableStructureServiceClient<T> {
|
||||||
inner: tonic::client::Grpc<T>,
|
inner: tonic::client::Grpc<T>,
|
||||||
@@ -144,20 +153,20 @@ pub mod table_structure_service_client {
|
|||||||
self
|
self
|
||||||
}
|
}
|
||||||
/// Return the physical column list (name, normalized data_type,
|
/// Return the physical column list (name, normalized data_type,
|
||||||
/// nullability, primary key flag) for a table in a profile.
|
/// nullability, primary key flag) for one or more tables in a profile.
|
||||||
///
|
///
|
||||||
/// Behavior:
|
/// Behavior:
|
||||||
/// - NOT_FOUND if profile doesn't exist in `schemas`
|
/// - NOT_FOUND if profile doesn't exist in `schemas`
|
||||||
/// - NOT_FOUND if table not defined for that profile in `table_definitions`
|
/// - NOT_FOUND if any table is not defined for that profile in `table_definitions`
|
||||||
/// - Queries information_schema.columns ordered by ordinal position
|
/// - Queries information_schema.columns ordered by ordinal position
|
||||||
/// - Normalizes data_type text (details under TableColumn.data_type)
|
/// - Normalizes data_type text (details under TableColumn.data_type)
|
||||||
/// - Returns an empty list if the table is validated but has no visible
|
/// - Returns an error if any validated table has no visible columns in
|
||||||
/// columns in information_schema (e.g., physical table missing)
|
/// information_schema (e.g., physical table missing)
|
||||||
pub async fn get_table_structure(
|
pub async fn get_table_structure(
|
||||||
&mut self,
|
&mut self,
|
||||||
request: impl tonic::IntoRequest<super::GetTableStructureRequest>,
|
request: impl tonic::IntoRequest<super::GetTableStructureRequest>,
|
||||||
) -> std::result::Result<
|
) -> std::result::Result<
|
||||||
tonic::Response<super::TableStructureResponse>,
|
tonic::Response<super::GetTableStructureResponse>,
|
||||||
tonic::Status,
|
tonic::Status,
|
||||||
> {
|
> {
|
||||||
self.inner
|
self.inner
|
||||||
@@ -198,31 +207,30 @@ pub mod table_structure_service_server {
|
|||||||
#[async_trait]
|
#[async_trait]
|
||||||
pub trait TableStructureService: std::marker::Send + std::marker::Sync + 'static {
|
pub trait TableStructureService: std::marker::Send + std::marker::Sync + 'static {
|
||||||
/// Return the physical column list (name, normalized data_type,
|
/// Return the physical column list (name, normalized data_type,
|
||||||
/// nullability, primary key flag) for a table in a profile.
|
/// nullability, primary key flag) for one or more tables in a profile.
|
||||||
///
|
///
|
||||||
/// Behavior:
|
/// Behavior:
|
||||||
/// - NOT_FOUND if profile doesn't exist in `schemas`
|
/// - NOT_FOUND if profile doesn't exist in `schemas`
|
||||||
/// - NOT_FOUND if table not defined for that profile in `table_definitions`
|
/// - NOT_FOUND if any table is not defined for that profile in `table_definitions`
|
||||||
/// - Queries information_schema.columns ordered by ordinal position
|
/// - Queries information_schema.columns ordered by ordinal position
|
||||||
/// - Normalizes data_type text (details under TableColumn.data_type)
|
/// - Normalizes data_type text (details under TableColumn.data_type)
|
||||||
/// - Returns an empty list if the table is validated but has no visible
|
/// - Returns an error if any validated table has no visible columns in
|
||||||
/// columns in information_schema (e.g., physical table missing)
|
/// information_schema (e.g., physical table missing)
|
||||||
async fn get_table_structure(
|
async fn get_table_structure(
|
||||||
&self,
|
&self,
|
||||||
request: tonic::Request<super::GetTableStructureRequest>,
|
request: tonic::Request<super::GetTableStructureRequest>,
|
||||||
) -> std::result::Result<
|
) -> std::result::Result<
|
||||||
tonic::Response<super::TableStructureResponse>,
|
tonic::Response<super::GetTableStructureResponse>,
|
||||||
tonic::Status,
|
tonic::Status,
|
||||||
>;
|
>;
|
||||||
}
|
}
|
||||||
/// Introspects the physical PostgreSQL table for a given logical table
|
/// Introspects the physical PostgreSQL tables for one or more logical tables
|
||||||
/// (defined in table_definitions) and returns its column structure.
|
/// (defined in table_definitions) and returns their column structures.
|
||||||
/// The server validates that:
|
/// The server validates that:
|
||||||
/// - The profile (schema) exists in `schemas`
|
/// - The profile (schema) exists in `schemas`
|
||||||
/// - The table is defined for that profile in `table_definitions`
|
/// - Every table is defined for that profile in `table_definitions`
|
||||||
/// It then queries information_schema for the physical table and returns
|
/// It then queries information_schema for the physical tables and returns
|
||||||
/// normalized column metadata. If the physical table is missing despite
|
/// normalized column metadata.
|
||||||
/// a definition, the response may contain an empty `columns` list.
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub struct TableStructureServiceServer<T> {
|
pub struct TableStructureServiceServer<T> {
|
||||||
inner: Arc<T>,
|
inner: Arc<T>,
|
||||||
@@ -307,7 +315,7 @@ pub mod table_structure_service_server {
|
|||||||
T: TableStructureService,
|
T: TableStructureService,
|
||||||
> tonic::server::UnaryService<super::GetTableStructureRequest>
|
> tonic::server::UnaryService<super::GetTableStructureRequest>
|
||||||
for GetTableStructureSvc<T> {
|
for GetTableStructureSvc<T> {
|
||||||
type Response = super::TableStructureResponse;
|
type Response = super::GetTableStructureResponse;
|
||||||
type Future = BoxFuture<
|
type Future = BoxFuture<
|
||||||
tonic::Response<Self::Response>,
|
tonic::Response<Self::Response>,
|
||||||
tonic::Status,
|
tonic::Status,
|
||||||
|
|||||||
2
server
2
server
Submodule server updated: 82df1dea82...403785118a
Reference in New Issue
Block a user