Desarol / drupal-jsonapi-client

MIT License
18 stars 7 forks source link

Provide a default identifier for filters #5

Open Auspicus opened 5 years ago

Auspicus commented 5 years ago

It seems like identifiers can simply be numbers:

filter[0][condition][field]=uuid&filter[0][condition][value]=1234.

https://git.drupalcode.org/project/drupal/blob/8.8.x/core/modules/jsonapi/src/Query/Filter.php#L215-231

We shouldn't force users to provide an identifier when we can generate one for them.