Add support for the meta property

Created on 10 January 2020, over 4 years ago
Updated 17 April 2024, 2 months ago

The top level document and resource objects may have a `meta` property. Currently, this is not respected and cannot be retrieved from the document sent over POST/PATCH/DELETE.

For example, with the following request payload you cannot access the passed meta information.

   $request_options[RequestOptions::JSON] = [
      'data' => [
        'type' => 'user--user',
        'attributes' => [
          'name' => 'Example.User1',
          'mail' => 'Example.User1@example.com',
          'pass' => 'Password123!',
        ],
        'meta' => [
          'validation' => 'PASS'
        ]
      ],
    ];
✨ Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mglaman WI, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024