Nick Miyake
Nick Miyake
`deadcode` does not currently work with Go modules (which were introduced in Go 1.11). `deadcode` should use the new `packages` package so that it supports running on projects written as...
Define the following interface: ```go type Fooer interface { Foo(in func(...string)) } ``` Generating a mock for this interface incorrectly replaces the varargs with a slice parameter: ```go // Fooer...
It appears that there are codepaths that depend on the behavior of "fatal" logger calls calling os.Exit(1). However, this means that running mockery in "quiet" mode will cause it to...
The CLI properly generates an IR for the following input YAML: ```yaml types: definitions: default-package: api objects: Example: fields: data: string ``` However, when the object type name is changed...
If the second argument to the `compile` command is a directory, the CLI currently fails with the following output: ``` ➜ bin ./conjure compile ./inner-in inner-out Exception in thread "main"...
When running the CLI with a directory as input, it failed with the following: ``` ➜ bin ./conjure compile inner-in/ out.json Exception in thread "main" unacceptable character '' (0x0) special...
Invoking the CLI with no arguments results in a stack trace: ``` ➜ bin ./conjure Exception in thread "main" java.lang.IllegalArgumentException: Usage: conjure compile at com.google.common.base.Preconditions.checkArgument(Preconditions.java:134) at com.palantir.conjure.cli.ConjureCli.parseCliConfiguration(ConjureCli.java:51) at com.palantir.conjure.cli.ConjureCli.main(ConjureCli.java:40) ```...
Currently, any project/language that wants to generate IR from YAML needs to use the Conjure CLI provided by this repo, which is packaged as JARs with an invocation script. Invoking...
If a program already has the input YAML in-memory, requiring it to write the file to a temporary file to be used as input is cumbersome -- it would be...
In the case where the generator CLI is being invoked by another program, it would be nice to have the option to have the output written to STDOUT rather than...