But because, anonymous record from different assembly aren't compatible, I can't use it. I tried to let type inference do the work but the type cannot be inferred in this situation.
This means, I need to pre-process the anonymous record before using it.
I think, it makes sense to not use an anonymous record here because this is a public API.
Currently, they are exposed using an anonymous record, this means that I can't easily pass it to a function to manipulate them.
My function is defined as:
But because, anonymous record from different assembly aren't compatible, I can't use it. I tried to let type inference do the work but the type cannot be inferred in this situation.
This means, I need to pre-process the anonymous record before using it.
I think, it makes sense to not use an anonymous record here because this is a public API.