OADA / OADA/server

new links are "merged" into existing documents

Open
#31 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug question
Dominant language
TypeScript
Stars
15
Forks
43
PR merge metrics
No merged PRs in 30d

Description

For example, if at

/bookmarks/services/trellis/signer there is an object

{
   "jobs": {}
}

and then one PUTs

{
  "_id": "resources/123"
}

to /bookmarks/services/trellis/signer.

In this case, /bookmarks/services/trellis/signer/blah correctly follows the new link. However getting /bookmarks/services/trellis gives back something like:

{
  "jobs": {},
  "_id": "resources/123"
}

and jobs is not ever accessible.

It appears PUTs of links are "merged" into existing paths but that doesn't make a lot of sense.

Contributor guide

No contributing guide indexed for this repository

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

Reproduce the PUT to /bookmarks/services/trellis/signer followed by GET requests for /bookmarks/services/trellis and /bookmarks/services/trellis/signer/blah. Start at the API handlers for link PUT and path resolution, then add coverage showing that the existing jobs object remains accessible and that the new link resolves without incorrectly merging documents.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.