-
Notifications
You must be signed in to change notification settings - Fork 0
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
feature: code generation-based implementation #46
Draft
xdrm-io
wants to merge
69
commits into
0.6.0
Choose a base branch
from
feature/codegen
base: 0.6.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40db30c
to
f2a3ea4
Compare
Codecov Report
@@ Coverage Diff @@
## 0.6.0 #46 +/- ##
==========================================
+ Coverage 91.41% 99.75% +8.33%
==========================================
Files 22 23 +1
Lines 943 800 -143
==========================================
- Hits 862 798 -64
+ Misses 48 1 -47
+ Partials 33 1 -32
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
323fd05
to
809e3de
Compare
…nymore (higher level)
- make tests compile : MUST BE REWRITTEN LATER
- index by method and number of fragments
- limitation: the config file must be UNDER the generated folder
- do not use json.Marshal on simple responses with an error and no data - reduces by 50% the time, memory and allocations on big requests
- also test invalid content type and no content type
- improves memory by 10% and time by 3%
6437eab
to
23fe457
Compare
- add panics on non 200 status and invalid form parsing - add missing content-type headers for form requests - do not use GET for form requests - add URI parameters in uri requests
e2c314f
to
c870fa4
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.