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(generator): do not copy schema file if generating to the current dir #515

Merged
merged 1 commit into from Oct 8, 2022

Conversation

RobertCraigie
Copy link
Owner

Change Summary

Fixes #513.

Checklist

  • Unit tests for the changes exist
  • Tests pass without significant drop in coverage
  • Documentation reflects changes where applicable
  • Test snapshots have been updated if applicable

Agreement

By submitting this pull request, I confirm that you can use, modify, copy and redistribute this contribution, under the terms of your choice.

@codecov
Copy link

codecov bot commented Oct 8, 2022

Codecov Report

Base: 94.32% // Head: 94.33% // Increases project coverage by +0.01% 🎉

Coverage data is based on head (0e2536c) compared to base (c436345).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #515      +/-   ##
==========================================
+ Coverage   94.32%   94.33%   +0.01%     
==========================================
  Files         120      120              
  Lines        6059     6073      +14     
  Branches     1037     1039       +2     
==========================================
+ Hits         5715     5729      +14     
  Misses        301      301              
  Partials       43       43              
Impacted Files Coverage Δ
src/prisma/generator/generator.py 91.27% <100.00%> (+0.11%) ⬆️
tests/test_generation/test_generator.py 100.00% <100.00%> (ø)
tests/test_client.py 100.00% <0.00%> (ø)
src/prisma/_compat.py 100.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@RobertCraigie RobertCraigie merged commit f9b8a09 into main Oct 8, 2022
@RobertCraigie RobertCraigie deleted the fix/513 branch October 8, 2022 18:39
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.

Schema copying error when generating to the root directory
1 participant