nebula-contrib / ngbatis

NGBATIS is a database ORM framework base NebulaGraph + spring-boot, which takes advantage of the mybatis’ fashion development, including some de-factor operations in single table and vertex-edge, like mybatis-plus. NGBATIS 是一款针对 NebulaGraph + Springboot 的数据库 ORM 框架。借鉴于 MyBatis 的使用习惯进行开发。https://graph-cn.github.io/ngbatis-docs/
https://nebula-contrib.github.io/ngbatis/
Apache License 2.0
132 stars 42 forks source link

fix: make the error message clearer when 'use space' failed #152

Closed CorvusYe closed 1 year ago

CorvusYe commented 1 year ago

Ngbatis will check the current space before each execution and help developers complete automatic switching.

But it did not capture error information, which makes it difficult for developers to report an error in this statement.

Such as: Some typo mistake happend when setting the default space, The Space was not chosen message make developers confuse.

Reported in #150

codecov-commenter commented 1 year ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@63e1499). Click here to learn what that means. Patch has no changes to coverable lines.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #152 +/- ## ======================================== Coverage ? 0.00% ======================================== Files ? 73 Lines ? 2416 Branches ? 259 ======================================== Hits ? 0 Misses ? 2416 Partials ? 0 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.