Skip to content

Set id's on plugin data #101

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Set id's on plugin data #101

wants to merge 3 commits into from

Conversation

rubenvdlinde
Copy link
Contributor

Use the id or _id properties on plugin data to set the id on object entities

@github-actions
Copy link
Contributor

👋 @rubenvdlinde
Thank you for raising your pull request.
Please make sure you have followed our contributing guidelines. We will review it as soon as possible. In the meanwhile make sure your PR checks the following boxes

  • Is based on an issue
  • Has been locally tested
  • Has been tested with the admin UI
  • Has been discussed with the development team in an open channel

rjzondervan
rjzondervan previously approved these changes Jan 18, 2023
@@ -547,7 +548,7 @@ public function requestHandler(array $data, array $configuration): Response

$this->handleMetadataSelf($result, $metadataSelf);

$result = $this->shouldWeUnsetEmbedded($result, $this->data['headers']['accept'] ?? null, $isCollection ?? false);
// $result = $this->shouldWeUnsetEmbedded($result, $this->data['headers']['accept'] ?? null, $isCollection ?? false);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dit willen we volgensmij alleen voor kiss doen en niet op master.
Dit zorgt dat we altijd embedded tonen namelijk.
Waar, al dus Barry, we voor roxit deze functie gebruiken en alleen voor accept header json+ld embedded tonen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants