-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add Manager field to Relativity.Testing.Framework.Models.Entity object #130
Comments
Hey @kamil-makarowski-relativity, If I took a look at the fields for Entities And also inspected the API request Do you know why I'm seeing something different from what you're expecting? |
The Entity object type is shared among multiple applications. It looks like the Manager field is only included in the Legal Hold application. Link to internal documentation: https://einstein.kcura.com/x/EmkFCQ |
So we'll only see it after LegalHold is installed then. I think it's going to be pretty difficult to conditionally have these fields on the model based on what applications are installed. We'll give this some thought. |
Hey @kamil-makarowski-relativity The ObjectManager service lets you pass in arbitrary DTOs, so you should be able to define one that more closely adheres to the LegalHold fields. You should be able to subclass off of Entity, and then add in any additional fields that you're looking for.
|
Hi @paulletang, Sorry didn't notice comments appeared. Yeah the Manager field is from Entity which is populated by Legal Hold Application. I'll give a try the code snippet you shared with me and post update once I test it. Thanks! |
Describe the suggested Enhancement
Hi Team,
We are trying to test Entities import with managers linking functionality. In our Functional Tests at the end we assert if Managers were linked to entities. We retrieve Entities using
IEntityService.GetAll
and to retrieve managers we useObjectManager
. We would be glad if we could assert entities and linked managers usingIEntityService.GetAll
method.Example
Expected Behavior
Justification
Entity model would be closer to real Entity RDO
The text was updated successfully, but these errors were encountered: