Hello everyone

Since version 8.x-1.19 of the module I can not fetching my custom entities.

It works very well with nodes, with my custom entities with bundle but not my custom entities without bundle!

(I specify that I built my custom entities with Drupal Console.)

Before version 8.x-1.19 of the module I could call without problem my data like this:

https://mysite.com/jsonapi/question/question?fields[question--question]=...

I guess something has to be done in my entity (without a bundle) but what?

Thank you for your help

Comments

pitav created an issue. See original summary.

wim leers’s picture

Status: Active » Postponed (maintainer needs more info)
Issue tags: +API-First Initiative

For example Drupal core's user entity type also has no bundles, and that still works fine. For example: /jsonapi/user/user?fields[user--user]=name and /jsonapi/node/article?include=uid&fields[user--user]=name work fine.

What exactly is not working? Do you get an error message?

wim leers’s picture

Status: Postponed (maintainer needs more info) » Fixed

Closing due to lack of response. Support was provided, so marking fixed. Feel free to reopen.

wim leers’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.