cmeeren / FSharp.HotChocolate

Support for F# types and nullability in HotChocolate
MIT License
7 stars 1 forks source link

Support F# unions as GraphQL unions #7

Closed cmeeren closed 2 months ago

cmeeren commented 2 months ago

I'm imagining being able to define a union with only single-field cases. The union itself will be the union in the schema, and the type of each field is another type in the schema.

I won't immediately work on this, but it would be nice to have this feature.

cmeeren commented 2 months ago

Implemented in e344fa7457a099be689ea339dd8ed464aa424951.