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

refactor: return error instead of panic #399

Merged
merged 5 commits into from
May 20, 2019
Merged

refactor: return error instead of panic #399

merged 5 commits into from
May 20, 2019

Conversation

easonlin404
Copy link
Member

@easonlin404 easonlin404 commented May 19, 2019

fix #348

@codecov-io
Copy link

codecov-io commented May 19, 2019

Codecov Report

Merging #399 into master will decrease coverage by 0.58%.
The diff coverage is 62.5%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #399      +/-   ##
=========================================
- Coverage   85.08%   84.5%   -0.59%     
=========================================
  Files           7       7              
  Lines        1321    1336      +15     
=========================================
+ Hits         1124    1129       +5     
- Misses        115     120       +5     
- Partials       82      87       +5
Impacted Files Coverage Δ
schema.go 100% <100%> (ø) ⬆️
parser.go 83.44% <45.45%> (-0.61%) ⬇️
operation.go 85.85% <52.94%> (-0.81%) ⬇️
property.go 95.16% <88.88%> (ø) ⬆️

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 b5d2fa7...49c2279. Read the comment docs.

@easonlin404 easonlin404 requested a review from pei0804 May 19, 2019 08:41
@easonlin404 easonlin404 changed the title [WIP] refactor: return error instead of panic refactor: return error instead of panic May 19, 2019
@easonlin404
Copy link
Member Author

we can close #348 after merged it.

@pei0804
Copy link
Member

pei0804 commented May 20, 2019

Nice

@pei0804 pei0804 merged commit fa508ff into master May 20, 2019
@pei0804 pei0804 deleted the remove-panic branch May 20, 2019 09:42
Nerzal pushed a commit to Nerzal/swag that referenced this pull request May 27, 2019
* refactor: return error instead of panic

* fix fmt check

* fix error check

* refine getPropertyName

* refine CheckSchemaType method
Nerzal pushed a commit to Nerzal/swag that referenced this pull request Jun 8, 2019
* refactor: return error instead of panic

* fix fmt check

* fix error check

* refine getPropertyName

* refine CheckSchemaType method
Nerzal pushed a commit to Nerzal/swag that referenced this pull request Jun 12, 2019
* refactor: return error instead of panic

* fix fmt check

* fix error check

* refine getPropertyName

* refine CheckSchemaType method
Nerzal pushed a commit to Nerzal/swag that referenced this pull request Jun 12, 2019
* refactor: return error instead of panic

* fix fmt check

* fix error check

* refine getPropertyName

* refine CheckSchemaType method
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.

error use insted of panic
3 participants