Describe in detail what your merge request does and why.
This PR adds in a new query named projectSample which returns a Sample if found within a Project. The query find the Sample by either its puid or its name.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other pull requests.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Launch server and login as your preferred user
Navigate to GraphiQL endpoint (e.g. http://localhost:3000/graphiql)
Try the projectSample query using sample puid
{
projectSample(projectPuid: "PROJECT_PUID", samplePuid: "SAMPLE_PUID") {
name
puid
}
}
Try querying for a Sample which belongs to a different project and ensure no result
PR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
What does this PR do and why?
Describe in detail what your merge request does and why.
This PR adds in a new query named
projectSample
which returns aSample
if found within aProject
. The query find theSample
by either its puid or its name.Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other pull requests.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
GraphiQL
endpoint (e.g.http://localhost:3000/graphiql
)projectSample
query using sample puidprojectSample
query using sample namePR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.