-
Notifications
You must be signed in to change notification settings - Fork 10
feat(cat-voices): DocumentType list value #2571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
✅ Test Report | |
.../packages/internal/catalyst_voices_repositories/lib/src/dto/api/document_index_list_dto.dart
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…/catalyst-voices into feat/multi_type_document
* fix(cat-gateway): modify doc type Signed-off-by: bkioshn <[email protected]> * fix(cat-gateway): change from list string to list uuid Signed-off-by: bkioshn <[email protected]> * fix(cat-gateway): remove unused func in doctype Signed-off-by: bkioshn <[email protected]> * fix(cat-gateway): use old doctype Signed-off-by: bkioshn <[email protected]> * fix(cat-gateway): use impl array for doctype Signed-off-by: bkioshn <[email protected]> * fix(cat-gateway): improve doctype Signed-off-by: bkioshn <[email protected]> --------- Signed-off-by: bkioshn <[email protected]>
DO NOT MERGE this feature Once this feature can be merged, the following task need to be done before merge.
|
…/catalyst-voices into feat/multi_type_document
CREATE TABLE IF NOT EXISTS signed_docs ( | ||
id UUID NOT NULL, -- UUID v7 | ||
ver UUID NOT NULL, -- UUID v7 | ||
type UUID NOT NULL, -- UUID v4 | ||
type UUID [] NOT NULL, -- List of UUID v4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NAK. Can't change schema like this. Requires a V3_update_signed_docs.sql
which performs a table modification of this one column. And it needs to be able to migrate the data.
Description
Accepts
CoseHeaders.type
list value and and convertsDocumentType
to support a list instead of single value.Based on specs (link)
Related Issue(s)
Resolves #2579
Description of Changes
Converts
DocumentType
enum into class for supporting multiple values.Note. note enum so we can supporty partially known types or dynamic definisions.
Breaking changes
FE will start sending type as
CborList
so backend have to be ready.Related PRs
BE:
input-output-hk/catalyst-libs#338
input-output-hk/catalyst-libs#356
Please confirm the following checks