Skip to content

issues Search Results · repo:gcanti/io-ts language:TypeScript

Filter by

442 results
 (89 ms)

442 results

ingcanti/io-ts (press backspace or delete to remove)

https://standardschema.dev/ Standard Schema is a common interface for validation libraries, that has already been implemented by Zod, Valibot, Effect and many others. It d be nice if io-ts had support ...
  • plushdohn
  • Opened 
    on Feb 28
  • #721

I see now that Effect has Schema, which seems to be doing similar things. What about io-ts-codegen? I don t see the full power of this lib reflected (yet).
  • wshager
  • Opened 
    on Oct 29, 2024
  • #718

🐛 Bug report Current Behavior It seems the results of is and decode are conflicted for Set. image Expected behavior In above example, decode should return Left because the type of field a is just ...
  • PenghaiZhang
  • 1
  • Opened 
    on Sep 25, 2024
  • #717

The basic example fails, is it possible to use io-ts without altering tsconfig and setting nodenex? import * as t from io-ts const User = t.type({ userId: t.number, name: t.string }) Cannot find ...
  • al6x
  • 1
  • Opened 
    on Jul 6, 2024
  • #714

The fix to make io-ts compatible with Typescript 4.8 and newer was merged into the 2.2.x series of io-ts, but not the mutually incompatible 2.1.x series. I forked the repository and have a branch that ...
  • psm14
  • Opened 
    on Jun 13, 2024
  • #713

Error: ../types/node_modules/io-ts/lib/index.d.ts:1412:29 - error TS2344: Type P does not satisfy the constraint Exact P, P . Type P is not assignable to type { [K in ({ [K in keyof P]: K; } { [K in keyof ...
  • learneradarsh
  • Opened 
    on May 27, 2024
  • #712

🐛 Bug report Current Behavior When you parse the result of navigator.geolocation.getCurrentPosition, despite coords object having field values, a codec parsing these values returns them successfully ...
  • dearlordylord
  • Opened 
    on Mar 8, 2024
  • #711

❓ Question My current understanding After reading the documentation, I understood that we can use Decoder.struct to convert a Form to, I could say, a FormValidated as below: import * as D from io-ts/Decoder ...
  • Massolari
  • Opened 
    on Feb 27, 2024
  • #710

🐛 Bug report Current Behavior The most recent version of io-ts (2.2.21) strips all key/value pairs when encoding using t.record with the NumberFromString codec from io-ts-types like this: t.record NumberFromString, ...
  • wolfmcr
  • 2
  • Opened 
    on Jan 10, 2024
  • #709

🐛 Bug report Current Behavior record.is does not agree with the TypeScript Record type in the case of partially enumerable records, i.e., records whose domain is the disjoint union of some enumerable ...
  • tgfisher4
  • Opened 
    on Dec 4, 2023
  • #708
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub