Closed tobyzerner closed 4 years ago
The signature of ResourceIdentifier is:
ResourceIdentifier
public function __construct(string $type, string $id, Meta $meta = null)
Meta represents a single key-value pair. So how can you add multiple meta key-value pairs to a resource identifier object?
Meta
Relevant part of the spec: https://jsonapi.org/format/#document-resource-identifier-objects
Should work in 2.1.1. Please confirm.
🤯 speedy! Thanks.
The signature of
ResourceIdentifier
is:Meta
represents a single key-value pair. So how can you add multiple meta key-value pairs to a resource identifier object?Relevant part of the spec: https://jsonapi.org/format/#document-resource-identifier-objects