Skip to content

collection meta info has been dropped. #722

Open
@kongkx

Description

@kongkx

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,
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageA new issue that needs triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions