Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Refactor (DRY) workspace TTL/Schedule validation logic #2119

Closed as not planned
@johnstcn

Description

@johnstcn

What

We currently duplicate some validations of workspace TTL / autostart schedule. We should refactor these and put them all in one place.

Interesting to do it in the cli. Can we somehow put the validation on a datastructure and reuse it for the backend + frontend? Like reuse the same code?

Originally posted by @Emyrk in #2018 (comment)

Why

Don't make me Repeat mYself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiArea: HTTP API

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions