-
Notifications
You must be signed in to change notification settings - Fork 53
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
Feature: create/mutate users #172
Comments
FYI, this is in progress. |
This is now on mutation {
upsertUser(id:1, firstName:"Mark", lastName:"Huot") {
id
name # returns `Mark Huot` after the mutation
}
} You should be able to inspect the schema via GraphiQL if you're lost. You can search by user ID and edit any default fields as well as any custom fields applied to users. The return of the field is the edited user. Note: there are new token scopes for this. If you have existing tokens you'll need to re-save the token with the new scopes enabled to make use of the new user mutation. |
Question: Is it possible to mutate/create matrix blocks and elements in general? |
@j2is, can you open a new issue if you still have questions on mutating matrix blocks. It is possible and you should be able to infer the schema from GraphiQL. If you have questions though I'm happy to walk through some sample queries in a new ticket. |
Closing this issue. The fix is included in version 1.2.1. |
Is there password field support yet? |
It would be awesome to be able to mutate/create users and their fields/customfields via craftQl.
Thanks for the awesome work 💯
The text was updated successfully, but these errors were encountered: