Resolving Type Issues in Schema without Assertions
I'd like to know if there's a way to solve this type issue with schema without relying on assertions. There are 2 issues there, the schema being used in
Schema.decodeUnknown
Schema.decodeUnknown
which gives a type error and the overall effect/function trying to produce the correct return type.