Ben Kraft
Ben Kraft
GraphQL allows you to do this: ```graphql query { myField { # these two get merged: subField { subSubField1 subSubField2 } subField { subSubField3 subSubField4 } } } ``` and...
We can of course generate code for relay types just fine, but it's even more of a mouthful than usual. It might be useful to have a plugin that elides...
This prevents importing `x/sys/unix` (thus any package which uses it -- for me relevantly [logrus](https://github.com/sirupsen/logrus)). ``` $ rlwrap yaegi -i -unsafe -syscall -unrestricted > import "golang.org/x/sys/unix" 1:21: import "golang.org/x/sys/unix" error:...
### 🚀 Feature Proposal Using Jest expect's asymmetric matchers (`anything`, `arrayContaining`, etc.) in typed contexts gets very annoying very fast. For example: ``` function expectTypedEqual(a: T, b: T) { expect(a).toEqual(b)...
### Version 29.4.0 ### Steps to reproduce Run `npx jest --coverage` in https://github.com/benjaminjkraft/jest-coverage-roots-issue. Specifically, this project has: - A Jest config with: - `rootDir` set to the repo root -...
### 🚀 Feature Proposal The idea here is basically equivalent to the `when` helper provided in some [third-party](https://github.com/timkindberg/jest-when) [packages](https://github.com/marchaos/jest-mock-extended#calledwith-extension), but within Jest. It would work similarly to `mockImplementation`, but only...
### Version 29.3.1 ### Steps to reproduce Run a bunch of tests with `--maxWorkers 1 --workerIdleMemoryLimit 1kb --logHeapUsage`. Memory usage will go up way beyond 1kb. ### Expected behavior I...
## Summary Fix `assert.Len`'s error message for non-`%s`able values. ## Details It was using %s, which doesn't work if the thing being len'ed is not a `[]string` or similar. For...
### Version v29.7.0, v30.0.0-alpha.2 ### Steps to reproduce 1. Create a test file with the below test. 2. `npx jest --workerIdleMemoryLimit=1GB path/to/the.test.js` (note: `--workerIdleMemoryLimit` is just to force Jest to...
**Is your feature request related to a problem? Please describe.** We now have support for mapping GraphQL optional types to generics (see #251). In many schemas, though, you don't want...