F# can upcast types to obj if those types are used in place. However, a string seq (IEnumerable<string> in C#) cannot be upcast to an obj seq (IEnumerable<object>) without mapping each item in the sequence. Making the Field constructor functions generic will allow them to take any object type, and these functions handle the conversion to obj (for In and InArray; others work transparently).
F# can upcast types to `obj` if those types are used in place. However, a `string seq` (`IEnumerable<string>` in C#) cannot be upcast to an `obj seq` (`IEnumerable<object>`) without mapping each item in the sequence. Making the `Field` constructor functions generic will allow them to take any object type, and these functions handle the conversion to `obj` (for `In` and `InArray`; others work transparently).
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
F# can upcast types to
objif those types are used in place. However, astring seq(IEnumerable<string>in C#) cannot be upcast to anobj seq(IEnumerable<object>) without mapping each item in the sequence. Making theFieldconstructor functions generic will allow them to take any object type, and these functions handle the conversion toobj(forInandInArray; others work transparently).