(
metadata: Option<&openshell_core::proto::datamodel::v1::ObjectMeta>,
resource_type: &str,
)
| 161 | // `tonic::Status` is large but is the API surface of gRPC handlers. |
| 162 | #[allow(clippy::result_large_err)] |
| 163 | pub fn validate_object_metadata( |
| 164 | metadata: Option<&openshell_core::proto::datamodel::v1::ObjectMeta>, |
| 165 | resource_type: &str, |
| 166 | ) -> Result<(), Status> { |
| 167 | validation::validate_object_metadata(metadata, resource_type) |
| 168 | } |
| 169 | |
| 170 | // --------------------------------------------------------------------------- |
| 171 | // Service struct |
no outgoing calls
no test coverage detected