-
Notifications
You must be signed in to change notification settings - Fork 4
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
support for ignoring industry/repository specific fields #114
Conversation
Super, @dakbhavesh ! Many thanks. |
Dear @dakbhavesh , A follow-up question: do we also want to support this feature in XML? If yes, how do you envision to list the fields to be ignored? I drafted/tested the following XML query doc:
This doesn't work though like in JSON/JSON-LD. Many thanks in advance for sharing your thoughts. Kind regards, |
Dear @RalphTro, Your proposal for mentioning fields to ignore in hash calculation for XML doc seems fine to me. I will try to incorporate that in logic as soon as possible. Thanks for your patience. |
Super. Many thanks, @dakbhavesh! |
@@ -0,0 +1,2 @@ | |||
ni:///sha-256;b3d481c5590757ab8361a6cb0e924820feb3b61eb568e7d7703f21a96f76f51d?ver=CBV2.0 |
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.
Considering Sven's comment:
#109 (comment)
I think it would be a really good idea to add the ignored fields into the NI.
In the current PR state, you are not able to check if an event (only the event object) equals its hash (NI) since neither contains the list of fields to be excluded from the hash.
Good morning @dakbhavesh, |
Dear @RalphTro,
This PR is to address #109 . Please have a look and share your feedback.
Please note that I have kept the key and schema as per below as discussed
"repository-x": "https://repository-x.example.com/"