-
Notifications
You must be signed in to change notification settings - Fork 1
Update for nullability changes in 15.0.0-p.12 #20
Description
@michaelstaib, I'm having problems due to this change in 15.0.0-p.12, which removed some Option<_> unwrapping I was not aware was present in the core of HotChocolate.
I am trying to modify FSharp.HotChocolate to account for this (not committed/pushed yet). I am now removing Option wrappers myself, so now the field/argument types are correct (and correctly queryable), but the schema is still full of unused/unreachable types like this:
type FSharpOptionOfDouble {
get_Value: Float!
value: Float!
}Again, these are unused/unreachable. For example, this particular type appears if I have a field that returns Option<double> (which, in the schema, is correctly typed as Float, not FSharpOptionOfDouble).
Why is that happening, and what can I do about it? (Apart from .TrimTypes(), which I obviously don't want to force on our users, and which doesn't fix the root issue.)