Skip to content
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

collection meta info has been dropped. #722

Open
kongkx opened this issue Mar 13, 2024 · 0 comments
Open

collection meta info has been dropped. #722

kongkx opened this issue Mar 13, 2024 · 0 comments
Labels
bug Something isn't working triage A new issue that needs triage

Comments

@kongkx
Copy link

kongkx commented Mar 13, 2024

Package containing the bug

next-drupal (NPM package)

Describe the bug

getResourceCollection, and getSearchIndex returns only array of data when doing deserialize. Not able to handle pagination.

Expected behavior

include extra info like getView

  const results = options.deserialize ? this.deserialize(data) : data

  return {
      id: name,
      results,
      meta: data.meta,
      links: data.links,
    }
@kongkx kongkx added bug Something isn't working triage A new issue that needs triage labels Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage A new issue that needs triage
Projects
None yet
Development

No branches or pull requests

1 participant