You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying out the new secret management within Elsa but I've hit an issue that seems to be specific to the SQL Server implementation. By default, Entity Framework maps the TimeSpan type to time(7), but this type only supports 24 hours, so the options from Elsa Studio can't be
Steps to Reproduce
Create a new project and add the required dependencies for SQL Server secret persistence, for example:
Description
I've been trying out the new secret management within Elsa but I've hit an issue that seems to be specific to the SQL Server implementation. By default, Entity Framework maps the
TimeSpan
type totime(7)
, but this type only supports 24 hours, so the options from Elsa Studio can't beSteps to Reproduce
Create a new project and add the required dependencies for SQL Server secret persistence, for example:
Enable the secrets management and API
Run the project and attempt to create a new secret, passing in an
expiresIn
of a day or greaterExpected Behavior
Secret is created within the
[Elsa].[Secrets]
table with[ExpiresIn]
and[ExpiresAt]
both populatedActual Behavior
The operation fails with the error
Value '1.00:00:00' is out of range. Must be between 00:00:00.0000000 and 23:59:59.9999999
Log Output
The text was updated successfully, but these errors were encountered: