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

fix wrong warning message for cls initialization #66

Merged
merged 3 commits into from Sep 11, 2019

Conversation

koxudaxi
Copy link
Owner

This PR fixes wrong warning message for cls initialization.

I have added code to check whether the type of cls is pydantic model

Related Issues

#65

@codecov
Copy link

codecov bot commented Sep 10, 2019

Codecov Report

Merging #66 into master will increase coverage by 0.05%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #66      +/-   ##
============================================
+ Coverage        80%   80.05%   +0.05%     
- Complexity       76       77       +1     
============================================
  Files             7        7              
  Lines           355      356       +1     
  Branches        122      123       +1     
============================================
+ Hits            284      285       +1     
  Misses           18       18              
  Partials         53       53
Impacted Files Coverage Δ Complexity Δ
src/com/koxudaxi/pydantic/PydanticTypeProvider.kt 63.54% <100%> (+0.38%) 36 <3> (+1) ⬆️

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 09a68e3...c52effa. Read the comment docs.

@koxudaxi koxudaxi merged commit 9232eaf into master Sep 11, 2019
@koxudaxi koxudaxi deleted the fix_cls_initialization branch September 11, 2019 05:11
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.

None yet

1 participant