Closed sarojkumarojha closed 1 month ago
I got bit by this the other day as well. For what it's worth, I was able to work around the problem by defining the completion closure like so using Swift.Result
directly:
client.fetchArray(of: Entry.self) { (result: Result<HomogeneousArrayResponse<Entry>, Error>) in
// ...
}
Believe since been fixed. Closing
I have upgraded to 4.2.4 to 5.4.0 , now I am not able to compile , getting following error , could you please help me
error : Generic type 'Result' specialized with too few type parameters (got 1, but expected 2) when I try to use
Contentful.Result instead of Result
, got this error : No type named 'Result' in module 'Contentful'