Stéphane Le Dorze
Stéphane Le Dorze
@gcanti I'm not sure you went that path of not but that may be usable to generalise 'intersection' signature: https://github.com/gcanti/io-ts/blob/master/src/index.ts#L1191 I've tried some modifications but it seems to fail with...
It fails while trying to access `getAllOf` which is null (tested with version 0.44.0) ```scala m.getAllOf.asScala.toList.get(1).flatMap { ``` OpenApi doc: ```{ "openapi": "3.0.0", "info": { "title": "---", "version": "0.1.0" },...
This issue is a followup of this comment: https://github.com/twilio/guardrail/issues/103#issuecomment-426459346 Here's a copy/pasted recap; Looking at these implicits do: ```scala implicit def decodeInstant: Decoder[Instant] = j8time.decodeInstant.or(decodeLong.map(Instant.ofEpochMilli)) implicit def decodeLocalDate: Decoder[LocalDate] =...
Given this definition ```json "DiscriminantModel": { "required": ["type","state", "data"], "discriminator": "type", "properties": { "state": { "type": "string", "enum": [ "stateA", "stateB" ] }, "type": { "type": "string" }, "data": {...
Is there already a solution to this?
For instance, `application/vnd.mycompany.myapp.v2+json` should be treated as `application/json` Today it is not detected and falls back to `text/plain` Spec here: https://swagger.io/docs/specification/media-types/
I put that quickly in shape. I've done some (Unit) tests that are passing.. (including cancellation) I'm wondering if I'm on the right path of if there's a fundamental flaw...
Requires upgrading `fp-ts` first..
We have a problem with auto-reload and ressource release. For example with NextJs and Prisma Client, when NextJs reloads, there's no way for Managed to be run. On the Prisma...