-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: new profile validation to prevent repeated wearables
- Loading branch information
1 parent
8b758db
commit 9b77034
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
adr: XX | ||
date: 2023-05-09 | ||
title: Add validation that prevents repeated wearables in profiles | ||
status: Draft | ||
authors: | ||
- marianogoldman | ||
type: Standards Track | ||
spdx-license: CC0-1.0 | ||
--- | ||
|
||
## Context and Problem Statement | ||
|
||
Currently, it is possible to add the same wearable to a profile multiple times. | ||
This caused some issues in the Explorer, that was not expecting this to | ||
happen. Even though the issue was fixed in the client, it is still possible | ||
to for other clients to continue submitting profiles with repeated wearables. | ||
|
||
This ADR proposes a new validation to prevent it. | ||
|
||
## Proposed solution | ||
|
||
Add a validation to be run on profile deployment that prevents repeated | ||
wearables from being submitted. | ||
|
||
## Deadline | ||
|
||
ADR75_DEADLINE: 2023-05-09T12:00:00Z | ||
Unix Timestamp: 1658275200000 |