Comments (6)
Thanks @remnantkevin for implementing this 😺
from simple-runtypes.
sorry @seanaguinaga I still have to release this and there are some bugs waiting to be fixed too.
from simple-runtypes.
Got it! nbd! :)
from simple-runtypes.
Should nonStrict
recurse into sub records?
from simple-runtypes.
I don't think it should recurse into sub records.
Whenever I am using "sloppy", it is always at the top level of API requests/responses to ignore meta fields such as _requestTimestamp or _createdAt.
from simple-runtypes.
Typescript defs for this appear to not be updated
from simple-runtypes.
Related Issues (17)
- `trim` string option causes optional fields to be returned with `undefined` values HOT 2
- Performance and throwing errors HOT 5
- optional runtype isn't really optional on records HOT 4
- `sloppyRecord` looses its sloppyness when modified with partial, pick or omit
- Question: What is `internalRuntype` for? HOT 5
- tests for string literal union are not running
- `sloppyRecord` in `array` doesn't remove extra properties HOT 5
- Migrate away from TSDX HOT 2
- rename `record` to `object`
- No correct copyrights in license file HOT 1
- Add lazy or some way to create recursive types HOT 5
- Publish modern ESNext/ES2022 code HOT 2
- Omit does not work on intersections
- Incorrect error message for invalid keys in a `record` HOT 1
- RuntypeUsageError: boolean literals inside a union HOT 1
- Is this project live? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simple-runtypes.