Skip to content

Bug: Broken casing of JSON attributes #626

Closed
@bart-degreed

Description

@bart-degreed

Description

After updating my local clone to #619, attribute casing in JSON responses has changed.

Before:

      "attributes": {
        "title": "First Video",
        "summary": "Summary for first video",
        "duration-in-seconds": null,
        "url": "https://www.youtube.com/watch?v=video1",
        "image-url": null,
        "language": null,
        "published-at": null,
        "created-at": "0001-01-01T00:00:00",
        "modified-at": "0001-01-01T00:00:00",
        "is-deleted": false,
        "provider-code": null,
        "external-id": null
      },
      "attributes": {
        "title": "First Video",
        "summary": "Summary for first video",
        "durationInSeconds": null,
        "url": "https://www.youtube.com/watch?v=video1",
        "imageUrl": null,
        "language": null,
        "publishedAt": null,
        "createdAt": "0001-01-01T00:00:00",
        "modifiedAt": "0001-01-01T00:00:00",
        "isDeleted": false,
        "provider-code": null,
        "externalId": null
      },

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