Skip to content

GetItem<T> never returns with ValueTypes #32

Description

@selfsx

Hello, quick example here:

      try {
        var result = await Get<string>("key_that_not_exists");
        Logger.LogInformation("result is null: " + result);

        // Or DateTime for example
        var result2 = await Get<SomeStruct>("key_that_not_exists");
        Logger.LogInformation("will never print: " + result2);
      } catch (Exception e) {
        Logger.LogError(e, "this will never happen");
      }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions