Comments (3)
I think we shoud allow from String
because nodejs can add a new option in the future and we can't enforce the user to wait our update.
from hxnodejs.
Maybe we need a functionality that allows from cast only from constant values which are part of the @:enum abstract
. This would allow easy usage and compile-time validation. The downside is that you couldn't pass non-constant values without casting them.
from hxnodejs.
Also I think the "wait for update" argument is negligible.
from hxnodejs.
Related Issues (20)
- [discussion] simplify document comment HOT 3
- Update to v12 API HOT 5
- Investigate if dts2hx can be used to generate the externs
- [Feature request] Add `util.format` function HOT 1
- [Feature request] Add `fs.promises` functions
- [Feature request] Add `append` method to `sys.io.File` class HOT 1
- All `js.node.Os` methods should be static
- HTTPS requests without options generates invalid code HOT 1
- Printing the result of hxToBytes will hang the runtime HOT 2
- Sys.getChar HOT 2
- haxe.io.Bytes.getData(): BytesData != ArrayBuffer HOT 2
- implement sys.io.Process HOT 4
- it wont work? HOT 8
- [nodejs] Enhancement: Expose headers in NodeJsHttp
- Ignores `sys` conditional compilation block HOT 1
- hxnodejs does not fully implement sys.net.Socket (needed for sys.Http) HOT 3
- Migrate CI to github actions
- Change uses of @:enum abstract to get rid of deprecation warnings HOT 1
- Release to haxelib following pr #190 HOT 3
- Haxe 4.3 `@:enum abstract` is deprecated
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 hxnodejs.