Skip to content

/list/id returns all promises directly without requiring the client to make separate requests for each promise #168

@nazreen

Description

@nazreen

Is your feature request related to a problem? Please describe.
When the user views a List page, i.e. the PH Manifesto list, the client has to make 300 requests to load the page fully!!

Describe the solution you'd like
option 1: Get all promises together with the first GET list request
option 2: Get all the list's promises in a single request after the first GET list request.

Describe alternatives you've considered

Additional context
Option 1:

Option 2:

  • requires a subcollection or another collection
  • to ensure backwards compatability, the List would need to have a promises_set
  • if it has the field, request a promises_set with a single request
  • if not, proceed with the current way, which is to request for every promise_id in the List

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions