decentraland / decentraland/builder-server

Stop accepting the id field for Collections on Collections creation

Open
#552 0 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
TypeScript
Stars
20
Forks
17
Avg merge
5d 8h
Merged PRs (30d)
3

Description

## 🎉 Description

Check the Collection router and stop accepting the `id` field from the front on the Collection creation. Instead, let the DB handle the id default creation using the `gen_random_uuid()` method.

Related: decentraland/builder-server#320

Contributor guide

Open the contributing guide

Research direction

Start at the Collection router named in the issue and trace the creation input through to the database. Verify that a client-supplied id is no longer accepted and that creation leaves id generation to the database via gen_random_uuid(); confirm the resulting Collection still receives an id.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.