Joystream / Joystream/joystream

Query Node: Add membership relation to Curator Entity

Open
#4,423 0 comments 0 reactions 1 assignee Claimed by @zeeshanakram3 View on GitHub
query-node
Dominant language
Rust
Stars
1.4k
Forks
116
PR merge metrics
No merged PRs in 30d

Description

Currently, the QN schema for the `Curator` entity is as follows:

```.graphql
type Curator @entity {
"Runtime identifier"
id: ID!

"Type needs to have at least one non-relation entity. This value is not used."
dummy: Int

"Curator belonging to this group with their permissions."
curatorGroups: [CuratorAgentPermissions!]! @derivedFrom(field: "curator")
}
```
## Proposal

Add the `member` field to the curator entity linking it to the corresponding membership.
```.gql
"Member corresponding to this curator"
member: Membership!
```
That will be useful for querying member's `infrastructureAccessKeys` through curator/s when authenticating specific personae/role for fetching assets from Argus

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.