Per request plugin for GraphServer to enable injection of extra data into the context
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 642
- Forks
- 70
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 21
Description
We need an interface on the GraphServer to enable injection of extra data into the context for each request in the call on AuthenticatedGraphQl so we can get rid of roles from the open-source side completely and keep all the logic in one place (where we are less likely to have conflicting implementations).
Originally posted by @ljeub-pometry in https://github.com/Pometry/Raphtory/pull/2731#discussion_r3870554100
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the GraphServer interface and the call on AuthenticatedGraphQl mentioned in the issue. Trace how request context is currently assembled and how roles are provided. Done means a per-request plugin interface can inject extra context data and the existing role logic can remain outside the open-source implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- api, authentication, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100