Snapchat / djinni

A tool for generating cross-language type declarations and interface bindings. Djinni's new home is in the Snapchat org.
Apache License 2.0
179 stars 50 forks source link

optional<future> does not work #171

Closed li-feng-sc closed 5 months ago

li-feng-sc commented 5 months ago

Future's marshaller is destructive while optional's marshaller receives a const&.

li-feng-sc commented 5 months ago

Other composite types (list etc.) probably have the same problem too.

li-feng-sc commented 5 months ago

won't support. optional is a bad pattern. it does not clearly convey whether the function is async or not.