edgedb / edgedb-net

The official .NET client library for EdgeDB
https://edgedb.com
Apache License 2.0
83 stars 9 forks source link

Fix FSharp option interop in arguments #62

Closed quinchs closed 1 year ago

quinchs commented 1 year ago

Summary

The IsSome method on Option<T> in F# requires both an instance and an index parameter in order to get the value via reflection. This PR adds in the index parameter if the type requires it.