parse-server
parse-server copied to clipboard
insert items into array using graphql
New Feature / Enhancement Checklist
- [ ] I am not disclosing a vulnerability.
- [ ] I am not just asking a question.
- [x] I have searched through existing issues.
Current Limitation
Cannot insert items in the array using graphql. I've also asked a question on SO before. someone suggested me to post an issue
https://stackoverflow.com/questions/66552544/insert-items-into-array-using-graphql-parse-server
The following writes data into note field. I want to add items in the array.
mutation {
updateParcel(input: { id: "B6aESEwWcA", fields: { notes: ["wow"]}}) {
parcel {
objectId
notes {
... on Element {
value
}
}
}
}
}
Alternatives / Workarounds
the only alternatives we have is to use Rest or SDK
Thanks for suggesting.
As I understand from @davimacedo's comment, this would be an enhancement to the GraphQL interface of Parse Server, as this operation is not yet supported.
hey i would like to work on this assign it to me if suited
@Hriishikeshh we do not formally assign issues; please feel free to submit a PR and coordinate with authors of existing PRs in case there are any; we'll be happy to review.