dotCMS / dotCMS/core

Add siteId param to NavResource and to the new GraphQL

Open
#31,931 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Team : Scout Type : New Functionality
Dominant language
Java
Stars
970
Forks
486
Avg merge
3d 33m
Merged PRs (30d)
170

Description

User Story

As a consumer of the NavResource and the new GraphQL Navigation root field
We need to have a way to indicate directly the "siteId" parameter we want to perform the query on.
Currently these two exiarting functionallities rely on the current site set in session

Acceptance Criteria

We should be able to indicate the siteId directly and get consistent results. If no param is passed we should still rely on the session attribute that stores the selected site

Proposed Objective

Technical User Experience

Proposed Priority

Priority 3 - Average

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.

related to https://github.com/dotCMS/core/issues/31538

Assumptions & Initiation Needs

No response

Quality Assurance Notes & Workarounds

No response

Sub-Tasks & Estimates

No response

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 NavResource and the new GraphQL Navigation root field, then trace how each currently reads the selected site from the session. Done means both accept an explicit siteId and preserve the session-based behavior when it is omitted, with consistent results in both paths.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, java
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.