Andrew
Andrew
Here's an example schema that demonstrates the problem: ```yml openapi: 3.0.0 info: title: Sample API description: Example of conflicting component and parameter schemas version: 0.1.9 components: schemas: Metadata: type: string...
A prefix would be a good solution for our use case. Adding a configurable option for the prefix could make it a non-breaking change if the default is an empty...
I've run into this as well. It's easy to replicate in the Node repl: ```sh $ node const chardet = require('chardet'); chardet.detect(123); ```
I have the same issue. As a temporary workaround I've set `moduleResolution` to `classic` in the `ts-jest` configuration: ```javascript module.exports = { transform: { '^.+\\.tsx?$': [ 'ts-jest', { tsconfig: {...
I have a component that has a prop to toggle on/off a layer. I want to fetch nested props from the layer only if it's toggled on. My first instinct...
I think I have a similar issue. For me it appears when using `z.ZodType`. See this [playground](https://www.typescriptlang.org/play/?#code/JYWwDg9gTgLgBAbwF4F84DMoRHA5EiAE1wG4AoMgYwgDsBneMKAUyYkubroGVKALZiACGcALxwkAOiassHLgAoFANyEAbAJRiAfHBXqxo8blxwA-HBoBXNWrgAuOKs0AaCZOrMoHSYSExmBQ0Ncmp6eBoIAAUWNnkefkERcSlPb2Zff0CQinQrGkoYYFo4QghuIXRmKKEoOmYAHgAVbQU6ROFHKQAtIiaATzBGlq0EMjg4FhgrKBo4doFhSTpK6tr6hQQUDTIUCgB6fbh8gGtIgHc5gForuAAjLBPmGjMqWgY4MHXmQjFS8tWNTqgRkcU4CUWQg0mRgQnIhzgABEsnAAD7HGiEZjoYA0H5vcKfb6EABMf1BcnBvEhy0B3022xhcLICORATRGKxOLxhAJHy+wMIAGY-mUKlUgRtIjFZOwqR0oUz4Uc2cwOfkubj8WF+cSACx-aWxSlcalJWkS+lbaF+WEkIA). ```ts import {z} from 'zod'; const preprocessSchema = z.preprocess((val) => (val === ''...