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

Feat/add code gen disclaimer #39

Merged
merged 2 commits into from
Dec 7, 2019
Merged

Conversation

hannahhoward
Copy link
Collaborator

One more add -- a disclaimer about files being code gen'd which will cause most linters to ignore the file, avoiding lots of lint warnings :)

Map/List should return an actual node type, not a pointer to a node. Otherwise, breaks when nested
in other map/list type
Add a disclaimer to the header for generated code to prevent linters from complaining
@hannahhoward
Copy link
Collaborator Author

also includes last PR

@codecov
Copy link

codecov bot commented Nov 8, 2019

Codecov Report

Merging #39 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #39      +/-   ##
==========================================
+ Coverage   72.42%   72.43%   +0.01%     
==========================================
  Files          50       50              
  Lines        3154     3155       +1     
==========================================
+ Hits         2284     2285       +1     
  Misses        780      780              
  Partials       90       90
Impacted Files Coverage Δ
schema/gen/go/genKindStructNode.go 99.04% <100%> (ø) ⬆️
schema/gen/go/gen.go 100% <100%> (ø) ⬆️
schema/gen/go/genKindListNode.go 100% <100%> (ø) ⬆️

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 8dff1cb...28a82f0. Read the comment docs.

Copy link
Member

@rvagg rvagg left a comment

Choose a reason for hiding this comment

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

neat trick, TIL

@warpfork
Copy link
Collaborator

warpfork commented Dec 7, 2019

dangit my email filters are still not good enough, I missed this until now

TIL also! Thanks!

@warpfork warpfork merged commit 785def7 into master Dec 7, 2019
@warpfork warpfork deleted the feat/add-code-gen-disclaimer branch December 7, 2019 03:12
@aschmahmann aschmahmann mentioned this pull request Sep 22, 2020
72 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants