-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add some schema helper methods for SessionPool #312
Conversation
2a349c9
to
bbc39d8
Compare
bbc39d8
to
9a29ba0
Compare
Codecov ReportAttention:
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #312 +/- ##
==========================================
+ Coverage 63.17% 63.69% +0.51%
==========================================
Files 9 10 +1
Lines 2466 2570 +104
==========================================
+ Hits 1558 1637 +79
- Misses 778 795 +17
- Partials 130 138 +8 ☔ View full report in Codecov by Sentry. |
label.go
Outdated
type LabelFieldSchema struct { | ||
Field string | ||
Type string | ||
Null bool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IsNull is better for bool var name?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I change it to Nullable
Default string `nebula:"Default"` | ||
Comment string `nebula:"Comment"` | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can define LabelName
here to represent the result of show tags
/show edges
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
@@ -0,0 +1,78 @@ | |||
package nebula_go |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add copyright for new files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work! Thanks for your contribution again!
What type of PR is this?
What problem(s) does this PR solve?
Issue(s) number:
#311
Description:
How do you solve it?
Special notes for your reviewer, ex. impact of this fix, design document, etc: