Skip to content
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

Get more type information from runtime parser #249

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AlekSi
Copy link
Member

@AlekSi AlekSi commented Sep 14, 2020

No description provided.

@AlekSi AlekSi added this to the v1.5.0 milestone Sep 14, 2020
@AlekSi AlekSi self-assigned this Sep 14, 2020
@AlekSi AlekSi added the chore label Sep 14, 2020
@AlekSi AlekSi modified the milestones: v1.6.0, v1.5.0 Oct 9, 2020
parse/base.go Outdated
@@ -16,6 +16,27 @@ type FieldInfo struct {
Name string // field name as defined in source file, e.g. Name
Type string // field type as defined in source file, e.g. string; always present for primary key, may be absent otherwise
Column string // SQL database column name from "reform:" struct field tag, e.g. name

// TODO Kind reflect.Kind // underlying type; set only by runtime parser
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Optional linters] reported by reviewdog 🐶
parse/base.go:20: Line contains TODO/BUG/FIXME: "TODO Kind reflect.Kind // underlying typ..." (godox)

@codecov
Copy link

codecov bot commented Oct 9, 2020

Codecov Report

Merging #249 (26cbc0c) into main (c76e205) will increase coverage by 1.53%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #249      +/-   ##
==========================================
+ Coverage   68.08%   69.61%   +1.53%     
==========================================
  Files          19       20       +1     
  Lines        1720     1787      +67     
==========================================
+ Hits         1171     1244      +73     
+ Misses        491      474      -17     
- Partials       58       69      +11     
Impacted Files Coverage Δ
parse/base.go 80.18% <100.00%> (+0.57%) ⬆️
parse/runtime.go 94.28% <100.00%> (+0.08%) ⬆️
reform-db/models_reform.go 64.28% <100.00%> (ø)
base.go 100.00% <0.00%> (ø)
querier_commands.go 86.05% <0.00%> (+4.31%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c76e205...26cbc0c. Read the comment docs.

@AlekSi AlekSi modified the milestones: v1.5.0, v1.6.0 Dec 8, 2020
@AlekSi AlekSi changed the title Get more data from runtime Get more type information from runtime Dec 8, 2020
@AlekSi AlekSi changed the title Get more type information from runtime Get more type information from runtime parser Dec 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants