Skip to content

Error in MySql implementation detail, related to features configuration, in From<&Auth> for DatabaseType #60

@0nSystem

Description

@0nSystem

Bug Report

In this case there is no feature restriction, and it can lead to possible problems by not selecting any features

Steps to reproduce

impl From<&Auth> for DatabaseType {
    fn from(value: &Auth) -> Self {
        match value {
            crate::datasources::Auth::Postgres(_) => DatabaseType::PostgreSql,
            crate::datasources::Auth::SqlServer(_) => DatabaseType::SqlServer,
            crate::datasources::Auth::MySQL(_) => DatabaseType::MySQL,
        }
    }
}

Metadata

Metadata

Assignees

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