Skip to content

Feat Custom ID - #1350

Merged
eldadfux merged 125 commits into
feat-database-indexingfrom
feat-custom-id
Aug 6, 2021
Merged

eldadfux merged 125 commits into
feat-database-indexingfrom
feat-custom-id

Conversation

@lohanidamodar

@lohanidamodar lohanidamodar commented Jul 5, 2021 •

Copy link
Copy Markdown
Member

What does this PR do?

Adds a required ID parameter in create endpoints, so that user can assign custom ID for resource instead of the auto generated one. Passing the string unique() as ID should work as before by generating ID automatically.

Test Plan

  • CustomID validator and relevant Unit test
  • Relevant updates to E2E tests for each service updated to have custom id support

Related PRs and Issues

(If this PR is related to any other PR or resolves any issue or related to any issue link all related PR and issues here.)

Have you read the Contributing Guidelines on issues?

YES

@lohanidamodar
lohanidamodar changed the base branch from master to feat-database-indexing July 5, 2021 11:04
Comment thread app/controllers/api/users.php Resolved
@lohanidamodar
lohanidamodar requested a review from eldadfux July 7, 2021 09:51
Comment thread app/controllers/api/users.php Resolved
@lohanidamodar
lohanidamodar marked this pull request as ready for review July 19, 2021 09:30
@eldadfux
eldadfux merged commit 9aa17e5 into feat-database-indexing Aug 6, 2021
@eldadfux eldadfux linked an issue Aug 6, 2021 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Database: Collection names should be IDs

3 participants