napi-rs/examples/napi/src
サポミク ebe97257a6
feat(napi-derive): add use_nullable attribute (#1971)
* feat(napi-derive): add use_nullable attribute

Co-authored-by: naskya <m@naskya.net>

* chore(napi-derive): update tests

Co-authored-by: naskya <m@naskya.net>

---------

Co-authored-by: naskya <m@naskya.net>
2024-02-24 21:49:54 +08:00
..
array.rs feat(napi): support rust array to js array 2022-08-12 17:53:36 +08:00
async.rs fix(napi): compile error for wasm32-unknown-unknown target 2023-11-20 17:10:58 +08:00
bigint.rs fix(napi): missing From implementation for Bigint (#1440) 2023-01-17 00:05:19 +08:00
callback.rs chore(example): add callback return promise (#1590) 2023-05-16 11:05:37 +08:00
class.rs feat(napi): accept slice as TypedArray (#1951) 2024-02-15 23:40:45 +08:00
class_factory.rs feat(napi): support async class factory (#1779) 2023-11-06 10:58:23 +08:00
constructor.rs fix(backend): attribute of a struct marked as #[napi(constructor)] contain Rust keywords, causing to throw is not a valid identifier when generating getters and setters 2023-08-17 20:48:54 +08:00
date.rs feat(napi): support chrono::NaiveDateTime (#1601) 2023-05-26 18:28:34 +08:00
either.rs fix(napi): promise resolve error (#1664) 2023-07-24 00:36:24 +08:00
enum.rs fix(napi-derive): proc-macro crash on enum (#1870) 2023-12-27 21:18:02 +08:00
env.rs test(napi): add tests for napi9 features (#1784) 2023-11-06 11:03:44 +08:00
error.rs feat(napi): keep stack traces in a deferred context (#1637) 2023-07-15 12:07:14 +08:00
external.rs feat(napi): support external deref/derefMut 2021-12-11 13:42:46 +08:00
fn_strict.rs fix(napi): validate fn for Option<T> 2022-07-06 14:01:32 +08:00
fn_ts_override.rs feat(napi-derive): add ts_arg_type attribute to override individual args on functions (#1192) 2022-05-22 13:43:11 +08:00
function.rs style: apply clippy fix (#1953) 2024-02-17 14:12:24 +08:00
generator.rs fix(napi): missing iterator implementation from class factory 2022-05-10 21:50:20 +08:00
js_mod.rs style: clippy fix 2022-03-05 23:05:04 +08:00
lib.rs feat(napi): new Function/FunctionRef API 2024-01-26 02:27:46 +00:00
map.rs feat(napi): extends the Map types interoperability (#1950) 2024-02-15 15:43:21 +08:00
nullable.rs feat(napi-derive): add use_nullable attribute (#1971) 2024-02-24 21:49:54 +08:00
number.rs Full qualify types 2021-11-14 23:34:44 +00:00
object.rs feat(napi-derive): allow partial implement From/To Napivalue for Object (#1448) 2023-01-24 14:51:16 +08:00
promise.rs feat(napi): await Promise<T> in async fn 2021-11-15 16:54:55 +08:00
reference.rs feat(napi): allow Reference as a class method param (#1966) 2024-02-22 22:37:50 +08:00
serde.rs fix(napi): big numbers losing precision on serde_json::Value (#1538) 2023-03-23 13:34:34 +08:00
shared.rs fix(cli,napi-derive): re-export types from shared crate (#1531) 2023-03-21 18:12:52 +08:00
string.rs Fix String roundtrip with interior nul bytes 2022-02-04 16:52:44 +08:00
symbol.rs feat(napi,sys): implement Symbol.for (#1721) 2023-09-13 15:45:14 -07:00
task.rs fix(napi-derive): async task optional output type (#1796) 2023-11-08 20:06:27 +08:00
threadsafe_function.rs fix(napi): re-throw error in ThreadsafeFunction callback if we could 2023-04-10 17:02:13 +08:00
typed_array.rs feat(napi): accept slice as TypedArray (#1951) 2024-02-15 23:40:45 +08:00