Skip to content
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

Inconsistent HeaderFields fields #15

Open
fabiante opened this issue Dec 18, 2023 · 0 comments
Open

Inconsistent HeaderFields fields #15

fabiante opened this issue Dec 18, 2023 · 0 comments
Labels
bug Something isn't working invalid This doesn't seem right

Comments

@fabiante
Copy link
Member

During implementation of #14 I noticed that the search endpoints returns more header fields. In terms of the Golang type:

type HeaderFields struct {

These fields were present in the search endpoint response.

Index: record.go
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/record.go b/record.go
--- a/record.go	(revision 4463323439056851ca8f236f5158ffe441e5685e)
+++ b/record.go	(revision da8442942381fccc168abab10ace1934e4d49ae5)
@@ -13,6 +13,8 @@
 	Id                     uuid.UUID `json:"_id"`
 	Version                string    `json:"_version"`
 	ArchiverLogin          string    `json:"_archiverLogin"`
+	Archiver               string    `json:"_archiver"`
+	InitialArchiver        string    `json:"_initialArchiver"`
 	InitialArchiverLogin   string    `json:"_initialArchiverLogin"`
 	InitialArchiveDateTime time.Time `json:"_initialArchiveDateTime"`
 }

This may or may not cause issues. We should have a look at this some time.
@fabiante fabiante added bug Something isn't working invalid This doesn't seem right labels Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant