-
Updated
Oct 25, 2021 - Go
code-generation
Here are 1,359 public repositories matching this topic...
-
Updated
Oct 24, 2021 - Swift
-
Updated
Sep 2, 2020 - LLVM
-
Updated
Oct 25, 2021 - Go
-
Updated
Oct 25, 2021 - Java
Improve auth guard tests coverage.
add new tests and improve existing ones.
Auth guard path: ./packages/amplication-server/src/guards/gql-auth.guard.ts
Auth guard tests path: ./packages/amplication-server/src/guards/gql-auth.guard.spec.ts
We use jest
for tests and jest-mock-extended
for mocking.
Hey folks, thanks for a pretty bad ass library! I'm seeing a 3-3.3x gain when decoding fairly large JSON payloads (40-50MB) as compared stdlib/json-iterator.
Few things in the generated code that struck me as odd are the allocation sizes for slices/maps:
- Slice is set to size 1 initially, values are appended using
append
- Map does not have a default size specified
Instead of this, I
-
Updated
Oct 25, 2021 - Kotlin
-
Updated
Oct 24, 2021 - TypeScript
-
Updated
Mar 1, 2021 - Rust
Is your feature request related to a problem? Please describe.
No MappedTypeNode definition in ts-morph.
No TypeQueryNode definition in ts-morph.
No TypeOperatorNode definition in ts-morph.
-
Updated
Jan 17, 2021 - Go
-
Updated
Apr 10, 2021 - Java
We are reliant primarily on the examples for testing at this point. It would be good to "stress" the allocator because I would be (pleasantly) surprised if it's bug-free.
- More extensive unit testing
- Integration test under
tests/
that (for example) uses the max number of registers of a given kind and confirms the register allocator doesn't fall over - More specifically, handling of "cast
-
Updated
Oct 5, 2020 - PHP
A lot of the Javadoc comments int the public API are missing documentation for things like parameters and return types (think @param
and @return
tags). In my opinion, the most glaring omissions of these details are in the metamodel docs, found in the subpackages of spoon.reflect
.
For example, at the time of writing
-
Updated
Oct 11, 2021 - Go
-
Updated
May 31, 2021 - C#
-
Updated
Oct 24, 2021 - C++
-
Updated
Sep 21, 2021 - TypeScript
-
Updated
Oct 24, 2021 - C++
Unused imports are included in the headers of generated files causing 2.12 builds with the default -Yfatal-warnings` setting to fail (unless the correct linting options are unset)
Expected behavior
Scrooge generates files with headers including only the imports the current file needs.
Actual behavior
Scrooge generates import statements for classes that are never used.
St
-
Updated
Aug 30, 2021
-
Updated
Sep 6, 2021 - Go
-
Updated
Oct 28, 2020 - JavaScript
Improve this page
Add a description, image, and links to the code-generation topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the code-generation topic, visit your repo's landing page and select "manage topics."
curl -k --digest --user username:password url
is converted to
import requests
response = requests.get('http://url', verify=False, auth=('username', 'password'))
but should be
import requests
response = requests.get('http://url', verify=False, auth=requests.auth.HTTPDigestAuth('username', 'password'))