This is probably not a bug, but I am upgrading my tt-files from v3.6.0 to v3.12.0 and for some reason several generated methods are now returning non-nullable return types, which breaks my code. Any clue to what I should do to get nullable return types again?
Examples:
string? ToString();
TEntity? Find<TEntity>(params object[] keyValues) where TEntity : class;
ValueTask<TEntity?> FindAsync<TEntity>(object[] keyValues, CancellationToken cancellationToken) where TEntity : class;
ValueTask<TEntity?> FindAsync<TEntity>(params object[] keyValues) where TEntity : class;
ValueTask<object?> FindAsync(Type entityType, object[] keyValues, CancellationToken cancellationToken);
ValueTask<object?> FindAsync(Type entityType, params object[] keyValues);
object? Find(Type entityType, params object[] keyValues);
...becomes
string ToString();
TEntity Find<TEntity>(params object[] keyValues) where TEntity : class;
ValueTask<TEntity> FindAsync<TEntity>(object[] keyValues, CancellationToken cancellationToken) where TEntity : class;
ValueTask<TEntity> FindAsync<TEntity>(params object[] keyValues) where TEntity : class;
ValueTask<object> FindAsync(Type entityType, object[] keyValues, CancellationToken cancellationToken);
ValueTask<object> FindAsync(Type entityType, params object[] keyValues);
object Find(Type entityType, params object[] keyValues);
This is probably not a bug, but I am upgrading my tt-files from v3.6.0 to v3.12.0 and for some reason several generated methods are now returning non-nullable return types, which breaks my code. Any clue to what I should do to get nullable return types again?
Examples:
...becomes