镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Should updated_at for service instances be updated when the last operation changes? #4087

Description

@johha

Example service instance:

{
  "guid": "3a2f5713-c979-45cc-9524-f513f9ad1238",
  "created_at": "2024-10-17T15:57:46Z",
  "updated_at": "2024-10-17T15:57:46Z",
  "name": "my-service-instance",
  "tags": [],
  "last_operation": {
    "type": "update",
    "state": "succeeded",
    "description": "",
    "updated_at": "2024-10-28T08:39:15Z",
    "created_at": "2024-10-28T08:39:15Z"
}

Should the updated_at field of the service instance be updated when the last_operation changes?

Activity

  1. Samze commented on Nov 13, 2024

    @Samze
    Contributor

    Given the operation is acting on the service and this structure is really more a reflection of how we represent the data internally (two separate tables). I would vote to have the updated_at field update when last_operation changes.

    Also note that this is probably also the case for async service bindings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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