Pometry / Pometry/Raphtory

Per request plugin for GraphServer to enable injection of extra data into the context

Open
#2,744 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.