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

Ability to load multiple items in an array #137

Open
ktwbc opened this issue Apr 5, 2022 · 1 comment
Open

Ability to load multiple items in an array #137

ktwbc opened this issue Apr 5, 2022 · 1 comment
Assignees

Comments

@ktwbc
Copy link

ktwbc commented Apr 5, 2022

As an alternative to having to specify each item with Model and a single Data item, it would be easier to be able to pass multiple data items like this:

[
  {
    "model": "User",
    "data": [
      {
        "id": "mmcfly",
        "username": "mmcfly",
        "full_name": "Marty McFly",
        "email": "[email protected]",
        "active": true
      },
      {
        "id": "btannen",
        "username": "btannen",
        "full_name": "Biff Tannen",
        "email": "[email protected]",
        "active": true
      }
    ]
}
]
@matmar10
Copy link
Collaborator

matmar10 commented Apr 5, 2022

Great idea! Contributions welcome :-)

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

No branches or pull requests

2 participants