juancastillo0 / leto

Dart GraphQL server libraries. Utilities, code generator, examples and reference implementation.
https://juancastillo0.github.io/leto/
MIT License
41 stars 6 forks source link

Differentiate between null and undefined #24

Open tigloo opened 8 months ago

tigloo commented 8 months ago

In a mutation I need to be able to differentiate whether a parameter was passed with a null value or whether the client didn't send it at all. Since Leto only provides the final deserialized input type, it seems like there's no possibility to detect the difference anymore.

Is there a way to achieve this?