Skip to content

POST'ing an array of categories, products,... is not supported. #11

@roelvan

Description

@roelvan

Often it is quite handy to post an array of categories in one request instead of eg. 5 seperate requests.
This valdiation prevents this: https://github.com/BestBuy/api-playground/blob/master/src/hooks/validate-schema.js#L17-L26

This is possible in a standard feathers app:

const players = _map(this.players, player => {
              return {
                name: player.name,
                teamId: team.id
              }
            })
            http.post('/players', players)
              .then((result) => {
                this.$router.push({name: 'play', params: {teamId: team.id}})
              })

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