drupal-graphql / drupal-graphql/graphql

Query user by their alias

Open
#1,260 0 comments 0 reactions 0 assignees View on GitHub
4.x question
Dominant language
PHP
Stars
287
Forks
198
PR merge metrics
No merged PRs in 30d

Description

Hi
I'm trying to implement a way to Query a user profile by their Alias, I have set Pathauto for users profile /team/, and I want to be able to do :
`{
user(path: "/team/"){
id
displayName
mail
}
}`
I didn't find useful documentation or tutorial on the web, and the [official documentation](https://joao-garin.gitbook.io/graphql-docs-update/v/graphql_4x_docs/queries/routes) wasn't helpful.
Not even sure if this is achievable, as module 8.x-4.x is in its early dev, but I hope someone could help me to achieve this.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.