Skip to content

Fold template create into template push #9318

@ammario

Description

@ammario

Push is supposed to be a superset of create, so we're carrying significant code debt. The slight mismatches in their functionality are mostly mistakes, e.g.:

  • create locally validates the template name whereas push does not
  • create accepts TTLs whereas push does not

We should make sure to deprecate create for a period of time, perhaps with an annoying time.Sleep. We should also change push to create a new template by default.

Bonus points for reducing duplication across template edit too. See #9319 for an example bug.

Metadata

Metadata

Assignees

Labels

s4Internal bugs (e.g. test flakes), extreme edge cases, and bug risks

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy