-
Notifications
You must be signed in to change notification settings - Fork 16
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
Project and unit field integrations #176
Conversation
… into project-fields
This reverts commit 27474df.
Although it is not written in the docs yet (and this might be our own understanding), in general, ID fields are technical fields (from the source system), and "Reference Id" are logical fields. Therefore, I suggest renaming the new field from "projectUnitId" to "projectUnitReferenceId", so is clear that the link goes by project-unit-referenceId (not project-unit-id). Please add information about the Id fields to the docs, so the usage is getting clearer. |
My hope was to use the attribute id= so that we could make use of validation. similar to how html uses id attributes together with anchors for example. But I could not make this work. This would however require for the reference entities to be present in the XML document to make it valid. There are pros and cons to that. What do you think? When I google this topic it's a bit weird.
Maybe you can find something more legible? This is what is currently documented:
It does have implicit meaning that the "id" or more of a technical/structural id but that a consumer/importer should look at referenceId for import duplication checking instead. But internal referencing would actually use the id attribute if we want to go the "xml way" route. |
Ok I got it working with the unit reference. The only thing that was missing. I also added examples and a test for this. See The only change is that I renamed the reference element to simply I checked and it would also be possible to connect to |
same as property ids. To allow digits as a starting character.
|
…project-fields
Semantic versioning
This PR is a Minor (It was aggreed that the change will not affect 3rd party folks since it has not been used yet)
Generall things to consider
List of issues related to this PR
Notable changes
Added
Changed