You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
API Platform version(s) affected: "api-platform/api-pack": "^1.2",
Description
Fetching contacts from GooglePeopleApi and attempting to adding them to existing user.
Google provides an array of contacts.
I am following this comment from @dunglas#1645 (comment), and setting up a relation that share the same groups on the denormalization context for the operation updateUser.
I was expecting to be able to have the full Contact entity as an input to updateUser, but graphiql will only expect an array of strings, ie, contacts: [String] ( see screenshot below)
How to reproduce
( only relevant code )
The USER entity :
API Platform version(s) affected: "api-platform/api-pack": "^1.2",
Description
Fetching contacts from GooglePeopleApi and attempting to adding them to existing user.
Google provides an array of contacts.
I am following this comment from @dunglas #1645 (comment), and setting up a relation that share the same
groups
on the denormalization context for the operationupdateUser
.I was expecting to be able to have the full
Contact
entity as an input toupdateUser
, butgraphiql
will only expect an array of strings, ie,contacts: [String]
( see screenshot below)How to reproduce
( only relevant code )
The USER entity :
The CONTACT entity:
Possible Solution
Additional Context

Update user input:
The text was updated successfully, but these errors were encountered: