Add siteId param to NavResource and to the new GraphQL
Nobody has claimed this yet.
- 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
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 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