Commit Graph
7 Commits
Author SHA1 Message Date
Marc RousavyandGitHub 0c4306cbd7 feat: Add explicit null type (#1032)
* feat: Add explicit `null` type

* Handle the cases

* Use NullType instead of `std::monostate`

* null is now variant! nice

* fix: Add missing imports

* fix: Fix podspec

* whoops now its fixed

* we're getting there...

* it builds on Android!

* fix: Add monostate back

* fix: Fix JNull lookup

* fix: Fix Swift build

* feat: Add tests for `null` type

* remove `UndefinedType`

* Now iOS builds???

* Nulls docs

* fix: Build with Xcode 26.1

* Revert "fix: Build with Xcode 26.1"

This reverts commit 41d1efea7a.
2025-11-10 22:31:22 +01:00
Marc RousavyandGitHub 6593698b54 feat: Add AnyMap <> Any converters and AnyMap::merge (#1012)
* feat: Add `merge` and `Any` helpers

* feat: Add merge maps test

* Update TestObject.nitro.ts

* Implement merge in kotlin

* fix: ctor

* feat: Add Any Value test

* Prevent accidental boxing twice

* fix: Make iOS work now

* fix: Fix `jni::local_ref` return

* feat: Add preallocated size ctor to Kotlin

* rename
2025-10-30 19:08:03 +01:00
Marc RousavyandGitHub 78059cef5c feat: Add AnyMap::getAllKeys() function (#688)
* feat: Add `AnyMap::getAllKeys()` function

* feat: Add `AnyMap.getAllKeys()` for Swift

* feat: Add `AnyMap.getAllKeys()` for Kotlin

* ctor explicit

* chore: Add tests for getMapKeys()

* fix: Fix sort order
2025-06-06 14:18:07 +02:00
Marc Rousavy 9d69ba04ab chore: Run clang format 2024-07-31 17:39:56 +02:00
Marc Rousavy 37fe1a8cad feat: Support JS -> C++ variant parsing 2024-07-30 18:28:37 +02:00
Marc Rousavy 4a073978e4 YAY Maps work!!! :) 2024-07-30 17:38:43 +02:00
Marc Rousavy c043b61cc6 feat: Create AnyMap 2024-07-30 16:51:09 +02:00