-
Notifications
You must be signed in to change notification settings - Fork 7
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
2136-missingIsPartOf #2137
2136-missingIsPartOf #2137
Conversation
"isPartOf" : [ { | ||
"type" : [ "IsPartOfRelation" ], | ||
"numbering" : "11" | ||
} ], |
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.
I am not sure I understand this. The file is invalid against the updated schema. Is this somehow taken into account in any tests?
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.
I rearranged this PR. It was not ready for review yet.
To avoid isPartOf objects that only hold a numbering and a type
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.
+1
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.
I don't understand: why should the order of the fields matter? Order cannot be guaranteed .
Sure it matters with regard to the fix transformation in our case. As well as the elastic search for reviewing since the order is also kept by elastic search see: #2000 In our case here: Moving the adding of the |
can you quote where "the order is also kept by elastic search"? I couldn't find it in the issue you've linked to (#2000) You described why this is useful for the fix transformation, but I did not comprehend that: isn't it the case that in I ACK that this is a presentational thing (humans want to read the most important things at the top (like described in #2000)). |
I am speaking from experience in context of #2000 Also see e.g. the info explicit in the documentation of ES with regards to arrays:
For fix the aspect of order is totally different to the stream order of morph where order in the incoming record has relevance as well as the order of the morph functions. e.g.
Example b:
Only in example a the conditional In our case changing the order of the transformation which results in changing the order of the output (e6354b6) is the prerequisite of the introduction of the conditionals that decide if an
Technically you are right. |
Ok, now I've got it, thx. |
Will be deployed Monday. |
See #2136
This PR does the following:
isPartOf.type
to the end of each object. (Prerequisite)