icu4x icon indicating copy to clipboard operation
icu4x copied to clipboard

Make DataResponse.payload be non-optional

Open sffc opened this issue 2 years ago • 2 comments

If the data isn't present, an error should be returned. It's likely we don't need the payload to be an Option.

sffc avatar Jan 05 '23 20:01 sffc

I investigated this; the only case where we set None is in draft PR https://github.com/unicode-org/icu4x/pull/4607

sffc avatar Mar 14 '24 17:03 sffc

As discussed in https://github.com/unicode-org/icu4x/issues/58, we plan to add a can_load function to the DataProvider traits, meaning work can be done on this issue.

sffc avatar Apr 25 '24 15:04 sffc